rito1
asked on
Extracting Text from String Variable
Hi All,
I have the follwing URL stored within a string variable...
http://localhost:80/myfoldername
Using C#, how can I extract everything after the last '/' and store in a separate variable. In this example its 'myfoldername'? 'myfoldername' will vary in characters/size so the next time it could be called 'abcfolder' for example.
Thanks,
Rit
I have the follwing URL stored within a string variable...
http://localhost:80/myfoldername
Using C#, how can I extract everything after the last '/' and store in a separate variable. In this example its 'myfoldername'? 'myfoldername' will vary in characters/size so the next time it could be called 'abcfolder' for example.
Thanks,
Rit
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Rit