I'm looking for string trim;
Example: a = "domain/user"; ( I need to trim the 'domain/' part off).
In other languages; the function I am looking for would be trim(), ltrim() or rtrim().
-TIA
-------------------------
I don't know that this is the right way but this worked for me:
string.Substring(5, 6)
1.) My domain + the '\' is alway 5 characters
2.) Everything to the right of the '\' will always be 6 characters
So I guess I can do it that way right? I'd really rather just trim from '\' all the way to the begining( left ), just in case the username format ever changes.