(vl-filename-extension filename)


Return only the file extension of the filename (without the directory path and filename).


This function returns a string containing the directory path.

Example

Code Returns
(vl-filename-extension"d:\file.txt") ".TXT"

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language