GetExtensionPart()
Syntax
Extension$ = GetExtensionPart(FullPathName$)Description
Retrieves the file extension part of a full path.
Parameters
FullPathName$ The full path to get the extension from.
Return value
Returns the file extension. For example, if the full path is "C:\PureBasic\PB.exe", the result will be "exe".
Remarks
To retrieve the file or the path part from a full path, look at the GetFilePart() and GetPathPart() functions.
See Also
GetFilePart(), GetPathPart()
Supported OS
All