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