Hi,
I have a string like this
"c:\Directory1\Directory2\Directory3\filename.zip"
"c:\Directory1\filename.zip"
"c:\Directory1\Directory2\Directory3\Directory4\filename.zip"
I want to extract only the "filename.zip" part to a variable. how can i do that.
Thanks,
Johnny
question for string?
Moderator: General Moderators
Re: question for string?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
-
mapperkids
- Forum Newbie
- Posts: 15
- Joined: Mon Feb 11, 2008 8:53 pm
Re: question for string?
Problem solved by using the Basename() function.
Thanks!