Hi guys,
You are all familiar with the long path generated by windows when browsing/uploading a file.
Well, how do you get only the filename fro that whole long string, what ever length may be.
For example...
User browses their computer and selects path which look something like this:
C:\Documents and Settings\something\Desktop\JPG_images\image_folder\coolimage.jpg
How do I isolate coolimage by itself, so that I can use this as the title for the uploaded file?
Any help appreciated. Thanks.
Getting specific string from a longer string ?
Moderator: General Moderators
-
scheinarts
- Forum Commoner
- Posts: 52
- Joined: Wed Jul 25, 2007 2:37 am