Declaration: ExtractFilePath(FName: string): string;
Extracts the drive and folder parts of the filename FName. The resulting string is the leftmost characters of FName, up to and including the colon or backslash that separates the path information from the name and extension.

Example: The expression ExtractFilePath ('C:\temp\Doc\readme.txt') returns the string 'C:\temp\Doc\'.

Last Update: 2020-Jan-04