We help IT Professionals succeed at work.

How do I return all of the charcters in a string that are right of the last \ in a path string

Hoodlywood
Hoodlywood asked
on
173 Views
Last Modified: 2013-11-25
I can't seem to figure out how to return all the charcters to the right of the last "\" character in a path string.  String length will vary throughout the use of the tool I'm building so I can't use the right function.  I.e. "C:\Temp\projects\May" I need to return may.  Any help would be greatly appreciated.  Thanks.
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks CMYScott. That did the trick
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.