Strip characters from address string
Posted on 2011-09-15
I'm passing a string variable to a text box for later use. The string is a file path and I want to strip away everything to the left of the last "\" (/). I've already used TrimEnd() to remove the file extension from the string, but I'm stuck on how to remove everything except the actual file name.
In case I'm not making myself clear...
Thanks for any help or suggestions.