I have a String of text that changes everytime i use it But i Need to Cut the String Down>!!
The Sting is C:\somthing\somethingelse\File.??
Is there a way to get EVERYTHING after the LAST \
Printable View
I have a String of text that changes everytime i use it But i Need to Cut the String Down>!!
The Sting is C:\somthing\somethingelse\File.??
Is there a way to get EVERYTHING after the LAST \
If you're using VB6, you can use the Split function:
TomCode:dim strTempArray() as string
dim strFilePath as string
strFilePath = "C:\my\path\to\file.doc"
strTempArray = split(strFilePath, "\")
msgbox strTempArray(ubound(strTempArray))
THANK YOU ! !
Thanks Very Much!