std-filename | ![]() |
std-filename extracts the filename and file extension from a partial or full pathname specifier, removing the path specifier.
There is no case conversion done. It's implemented as strcat of the second and third element of std-filename-split, so for ambiguities see there.
(std-filename "d:/acad/test") => "test" (std-filename "d:/acad/test.lsp") => "test.lsp"
fname: a string. A partial or fully qualified filename specifier.
A string.
See std-fpslash.
(std-require 'STDFILE)
Defined in STDFILE