Function Entry: VL-FILENAME-EXTENSION

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VL-FILENAME-EXTENSION

Name

vl-filename-extension

Class

Visual LISP Pathname Function

Syntax

(vl-filename-extension filename)

Arguments and Values

  • filename: pathname string

Description

Returns the extension from a file name after stripping out the rest of the name.

Return Values

String extension or nil if there is no extension under host semantics.

Side Effects

None.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.

Notes

  • Autodesk documents that the returned extension begins with a period.
  • Autodesk documents that the function does not check whether the specified file exists.