ExtractFilePath

Top  Previous  Next

Prototype

 

strPath:=ExtractFilePath(strFileName)

 

Description

 

Extracts the path of the file passed as parameter.

 

Parameters

 

strFileName: A string containing a valid path and filename.

 

Returned value

 

strPath: The path of the file

 

Notes

 

None.

 

Example

 

// The result is 'c:\project'

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