title: How to split a string at forward slash OR backward slash VB.net?
body: <p>I am currently splitting a string at every occurrence of a forward slash. In the case of a path that uses backward slashes instead of forward slashes, how can I accomplish the split function at all backward slashes if they are instead used? Thanks for any help.</p>
  
  <pre><code>Dim p() as string
  p = Split(strP, "/")'Or backward slash
  </code></pre>