DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


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'.