I am receiving a string which has in it a full path of the file the
user entered in a previous form. I would like to trim just the file
name from this string.
So rather than having users/andy/images/image.jpg I insert only
image.jpg in to my database table.
I am receiving this as a string not as a multipart form submit the
file has already been placed on the server by this stage.
Thank you in advance for any help.
Cheers
Andy