ExtractFileExt
Sub ExtractFileExt($fileName As String) As String
Returns the extracted file extension, including the leading ".", from the file name specified in $fileName.
Parameters
- $fileName ... String expression that specifies a file name, with or without drive or folder information.
Example:
Dim $s
$s = ExtractFileExt("e:\exp\template.txt")
' returns $s = ".text"