micropathic
Well-known member
- Joined
- Oct 23, 2003
- Messages
- 75
How can I get the text to the right of the last backslash ("\") in a file name.
For instance
I would want to get the "test.txt" from the string "C:\Program Files\My App\My Dir\My Dir2\test.txt"
or "test2.txt" from the string "C:\Program Files\My App\My Dir\test2.txt"
TIA
For instance
I would want to get the "test.txt" from the string "C:\Program Files\My App\My Dir\My Dir2\test.txt"
or "test2.txt" from the string "C:\Program Files\My App\My Dir\test2.txt"
TIA