ExtractFileExt

Declaration: ExtractFileExt(FName: string): string;
Extracts the extension part of the filename FName. The resulting string includes the period character that separates the name and extension parts.

Example: The expression ExtractFileExt('C:\temp\Doc\readme.txt') returns the string '.txt'.


Last Update: 2020-Jan-04