title: trim everything before last slash vb.net
body: <p>Yesterday I learned to trim the file name off a file location using the flowing code</p>
  
  <pre><code>    Dim NEWPATH As String = (inventorApp.ActiveDocument.FullFileName)
      NEWPATH = NEWPATH.Substring(0, NEWPATH.fIndexOf("\"c))
  </code></pre>
  
  <p>This is realy neat because it is a more reliaable/ stable way to what I was using before... Haha today though i want the reverse I want to trim everything before the last slash how can i do that?</p>
  
  <p>also just out of curiosity whats the lowercase c for in ("\"c) namely the code also works well without it?</p>