I am hoping someone can help me. This should be easy but I
can not figure it out.
I have search results that return a file name and directory
path as follows:
e:\rootdirectory\subdirectory1\subdirectory2\subdirectory3\filename.pdf
There could be several sub directories in the path. All I
want to do is get the file name from the end of the path. The path
length varies. The only constant is the rootdirectory and
subdirectory1
Any help would be greatly appreciated!!
Thanks