Extract file name

function ExtractName(fullyQualifiedFileName: string): string

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

Example:

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