fname (<file>)
string
The file name part of a file path name.
<file>
The name of the file
to be queried. The file may or may not exist.
The following would return the value 'names.txt'.
string s = '/usr/text/names.txt' string fn = fname(s)
Functions: |
fext (string), flocal (string), fpath (string), full (string) |