function ExtractExt(fullyQualifiedFileName)


This function takes a fully qualified path name (root-based path including all directories and the file name) and returns the file extension portion only.


Example:


{
 res = ExtractExt('/docs/sheets/budget.xlsx'); // res will be ".xlsx"
}