string.file.path
Syntax
Given a full file and path name, returns just the path.
For example, given the string c:/mywork/myfile.txt the return value would be c:/mywork.
spath - The path extracted from a file and path
sfilepath a file and path string
string.file.name
string.find
9.1.13