StripFileExt

Declaration: StripFileExt(FName: string): string;
Returns the filename FName without the file extension.

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