# string.file.name

Syntax

sfilename := string.file.name

Given a full file and path name, returns just the file name (including the extension, if any).

For example, given the string c:/mywork/myfile.txt the return value would be myfile.txt.

Returns: sfilename - the file name extracted from a full file and path sfileapth - a full file and path