title: vb.net split last part of the string
body: <p>net 2.0 and need to split the last / mark of the string. Currently I have a code that says <code>Dim test As String = "Software\Microsoft\Windows\Welcome"</code> and need a code that will split that Software\Microsoft\Windows\Welcome into two separate section at the end
  So I'll have Software\Microsoft\Windows and Welcome as new strings.
  I can only find things that will split the beginning from the rest like </p>
  
  <pre><code>Dim whole As String = "Software/Microsoft/Windows/Run"
  Dim firstpart As String = whole.Substring(0, whole.IndexOf("/"))
  Dim lastpart As String = whole.Substring(whole.IndexOf("/") + 1)`
  </code></pre>