function ExtractFileExt(sFileName As String) As String
|
Returns the extracted file extension (with leading ".") of the specified in sFileName.
Parameters
| • | sFileName ... String expression. Filename with or without drive/folder. |
Example:
Dim s
s = ExtractFileExt("e:\exp\template.txt")
' returns s = ".text"
|
|