title: vb.net: can you split a string by a string
body: <p>for example, can i do this:</p>
  
  <pre><code>split = temp_string.Split("&lt;beginning of record&gt;")
  </code></pre>
  
  <p>those of you recommended:</p>
  
  <pre><code>split = Regex.Split(temp_string, "&lt; beginning of record &gt;")
  </code></pre>
  
  <p>its not working. its just returning the first char "&lt;"</p>
  
  <p>and those of you that recommended:</p>
  
  <pre><code>Dim myDelims As String() = New String(){"&lt; beginning of record &gt;"}
  split = temp_string.Split(myDelims, StringSplitOptions.None)
  </code></pre>
  
  <p>this is not working either. it's also returning just the first char</p>