Pascal Scripting: ExtractFileExt
Prototype:
function ExtractFileExt(const FileName: string): String;
Description:
Extracts the extension part of the given file name. The resulting string includes the period character that separates the name and extension parts. The resulting string is empty if the given filename has no extension.