Extract file path
ts
function ExtractPath(fullyQualifiedFileName: string): string;
This function takes a fully qualified path name (root-based path including all directories and the file name) and returns the path portion only.
Example
ts
{
res = ExtractPath('/docs/sheets/budget.xlsx');
// res will be "/docs/sheets"
}