W
wingers
Guest
What is the best way to trim a string so I can remove everything after the last \ and keep the rest
e.g.
Trim C:\Windows\System32 to c:\Windows\
Trim C:\Windows\folder1\mydoc.txt to C:\Windows\folder1\
Trim E:\MyFolder1\myFolder2\anotherfolder3\blahblahblah.txt to E:\MyFolder1\myFolder2\anotherfolder3\
Darren Rose
Continue reading...
e.g.
Trim C:\Windows\System32 to c:\Windows\
Trim C:\Windows\folder1\mydoc.txt to C:\Windows\folder1\
Trim E:\MyFolder1\myFolder2\anotherfolder3\blahblahblah.txt to E:\MyFolder1\myFolder2\anotherfolder3\
Darren Rose
Continue reading...