function ExtractName(fullyQualifiedFileName)


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


Example:


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