Difference between revisions of "ExtractFileDrive"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function ExtractFileDrive(FileName: string): string; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Extra...") |
(No difference)
|
Latest revision as of 14:31, 3 July 2011
Definition
function ExtractFileDrive(FileName: string): string;
Availability
SCAR Divi 3.00 > Current
Description
Extracts the drive from a file path given by FileName.
Example
begin WriteLn(ExtractFileDrive('C:\Folder\File.Ext')); WriteLn(ExtractFileDrive('C:\Folder\')); end.
Output:
C: C: