ExtractFileExt

Top  Previous  Next

Prototype

 

strExt:=ExtractFileExt(strFileName)

 

Description

 

Extracts the extension of the file passed as parameter.

 

Parameters

 

strFileName: A string containing a valid path and filename.

 

Returned value

 

strExt: String that contains  the file extension

 

Notes

 

None.

 

Example

 

// The result is '.tif'

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