Function: fname

Syntax

fname (<file>)

Type

string

Returns

The file name part of a file path name.

Parameters

Examples

The following would return the value 'names.txt'.

string s = '/usr/text/names.txt'
string fn = fname(s)

See Also

Functions:

fext (string), flocal (string), fpath (string), full (string)