Sign in Join
FPDoc Onlineexperiment

ExtractFileExt function

In unit sysutils

Return the extension from a filename.

Declaration

pascal
function ExtractFileExt(const FileName: UnicodeString): UnicodeString

Description

ExtractFileExt returns the extension (including the .(dot) character) of FileName.

For an example, see ExtractFileDir.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.