ExtractFileExt
From SCAR Divi Manual
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