ExtractFileName

Top  Previous  Next

Prototype

 

strName:=ExtractFileName(strFileName)

 

Description

 

Extracts the name of the file passed as parameter.

 

Parameters

 

strFileName: A string containing a valid path and filename.

 

Returned value

 

strName: String that contains the file name

 

Notes

 

None.

 

Example

 

// The result is 'image1.tif'

TempStr:=ExtractFileExt ('c:\project\image1.tif');