.......
Printable View
.......
If you are talking generic code you can use the LastIndexOf function of the string class to calculate the position of the last backslash, and then the Substring function to get just those characters following it :
myString.Substring(0, x.LastIndexOf("\"c))
Don't mention it.
Oh that's right you didn't, you just deleted your question.