in reply to get folder name only

Re: How do I extract a file name from a path string

Just use the remaining part of the array instead of the end.
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs