I have a full path of a file and need to extract the file name from that string.
So I would need something like getlastIndexOf(File_Seperator) and then get the substring from the last File_Seperator (/) to the end of string, to get the filename without the path.
I need that info for a copy statement to a new directory.
example: copy from /Images/Screenshots/image1234.jpg to /Documents/PDM/image1234.jpg
I suppose I am just overlooking something, as this should not be anything out of the ordinary, which has never been tried before..
Thank you !