DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
Files and Folders
ExtractFileExt
See also:
ExtractFileName
,
ExtractFilePath
,
StripFileExt
Index
Statistical Background
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
'.