Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
I can use:
to give me the complete path but instead of:
my code needs just:
I've looked for a similar command to return the filename, but so far been unsuccessful.
I really hope that there is a simpler way to do this than searching for slashes and chopping up strings etc.
It's true, as you said, that the path can be written in several ways. But I'm not clear how that helps find the filename his code needs.