Hello. I am trying to get grab the word "Documents" in the following file directory example. C:\Users\Franchise\Documents\Fishing Pics\
Thanks for the help.
Handle the path as if it were actually a list of string values delimited by the '\' path element separator. Use the ItemCount() and ItemExtract() functions to pull out the element you want.
It depends on what your needs are but you can search and or extract a fold name using the Item* functions. For example,
nIndex = ItemLocate('Documents','C:\Users\Franchise\Documents\Fishing Pics\','\')
strItem = ItemExtract( nIndex, 'C:\Users\Franchise\Documents\Fishing Pics\', '\')