string.file.path

Syntax

spath := string.file.path(sfilepath)

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.

Returns:spath - The path extracted from a file and path
Arguments:sfilepath a file and path string