Quite some time ago I read a post here where someone needed a similar ability, and I made a mental note to remember it. However, I am not putting the correct criteria in my search so I can’t refind it.
My challenge:
I have a string that contains the drive letter, the path and the file name in the following format:
[indent]C:MainPathSubFolderMyFile.txt
[/indent]I need to capture just the “MyFile.txt” and cannot figure out how.
Thanks in advance for your assitance.
Ken