Page 1 of 1

substr question

Posted: Wed Apr 18, 2001 3:24 pm
by Mr. Bigglesworth
If I have a string like so:

"e:\webs\myfile"

And I want to extract out the portion after the final "\", (meaning "myfile"), what's the best way to do that?

substr question

Posted: Wed Apr 18, 2001 3:39 pm
by bart
<rex "[^\\]+>>=" $string>