basename(string)
Extract the file name out of a string that contains the directory plus the filename. The directory separator can be either of the Unix style "/" or the Windows style "\" characters.
Example
file = basename("/usr/local/nz/bin/nzsql")Extract the file name out of a string that contains the directory plus the filename. The directory separator can be either of the Unix style "/" or the Windows style "\" characters.
Example
file = basename("/usr/local/nz/bin/nzsql")