title: Fill a string[] array using split
body: <p>I have the following text<br/>
  <code>part1:part2</code></p>
  
  <p>and the following string[] array<br/>
  <code>string[] tmp = new string[3];</code></p>
  
  <p>how can i split my text and put it into the array so the array looks like this:<br/>
  <code>{"part1", "part2", ""}</code></p>
  
  <p>I tried using the <code>.split(':');</code> but that just reassigns the array and so it has only <strong>2</strong> elements instead of <strong>3</strong></p>
  
  <p>thanks</p>