Difference between revisions of "ExtractFileName"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function ExtractFileName(FileName: string): string; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Extrac...")
 
(No difference)

Latest revision as of 14:27, 3 July 2011

Definition

function ExtractFileName(FileName: string): string;

Availability

SCAR Divi 3.00 > Current

Description

Extracts the filename of a file path given by FileName.

Example

begin
  WriteLn(ExtractFileName('C:\Folder\File.Ext'));
end.

Output:

File.Ext

See Also