Description
Returning this will retrieve the extension of the file.
Syntax
target.file.GetExtension(file)
file (input) - the file you want to work with
Return value
This function returns the extension in the form of a string.
Sample'---------- Start ----------Function Start trg.Message( target.file.GetExtension( "C:\TargetFileExample\TargetFileExample.txt" ) )End FunctionSee also
'---------- Start ----------
Function Start
trg.Message( target.file.GetExtension( "C:\TargetFileExample\TargetFileExample.txt" ) )
End Function
Platform Objects and Methodstarget.file.GetDatetarget.file.GetExtensionByMIMEtarget.file