greddin
asked on
Help with getting just part of a string
I've got a string variable that contains a folder path. I have two variables for comparison.
string mySite = "MySiteName";
string fullPath = "/12/dir/MySiteName/Docume nts/xyz;
I want to return everything AFTER the MySiteName/
Like this: Documents/xyz
Knowing my two variables, how can I return just the "Documents/xyz" string?
Thanks!
string mySite = "MySiteName";
string fullPath = "/12/dir/MySiteName/Docume
I want to return everything AFTER the MySiteName/
Like this: Documents/xyz
Knowing my two variables, how can I return just the "Documents/xyz" string?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER