ExtractFileExt

From SCAR Divi Manual
Revision as of 14:28, 3 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function ExtractFileExt(FileName: string): string; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Extract...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function ExtractFileExt(FileName: string): string;

Availability

SCAR Divi 3.00 > Current

Description

Extracts the extension of a file path/name given by FileName. The result includes the leading dot.

Example

begin
  WriteLn(ExtractFileExt('C:\Folder\File.Ext'));
end.

Output:

.Ext

See Also