title: String.Split() method creates empty array spot
body: <p>I am not a professional programmer, just FYI.</p>
  <p>I am having trouble splitting a string. The resulting array has a length of 3, with the second spot (index 1) being completely empty.</p>
  <p>I could manipulate the array to work the way I'd like, but I would rather understand why it is acting this way and code it properly from the beginning.</p>
  <pre><code>Dim defaultSetting() As String
  Dim curSetting as String = &quot;MENU_ITEM_ON_OPEN;;OPTIONAL_LEAVE&quot;
  
  defaultSetting = curSetting.Split(&quot;;;&quot;)
  MsgBox(defaultSetting.Length) 'this is 3
  MsgBox(defaultSetting(0)) 'this is as expected &quot;MENU_ITEM_ON_OPEN&quot;
  MsgBox(defaultSetting(1)) 'this is empty and I do not know why
  MsgBox(defaultSetting(2)) 'this is &quot;OPTIONAL_LEAVE&quot; and should be stored in defaultSetting(1)
  </code></pre>
  <p>Any help would be appreciated, thank you.</p>