Yesterday I learned to trim the file name off a file location using the flowing code
Dim NEWPATH As String = (inventorApp.ActiveDocument.FullFileName)
NEWPATH = NEWPATH.Substring(0, NEWPATH.fIndexOf("\"c))
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?
also just out of curiosity whats the lowercase c for in ("\"c) namely the code also works well without it?