Skip to content
Martin Danielsson edited this page Jul 23, 2015 · 4 revisions

Use the FileExt operator to retrieve the extension (suffix) of a file name.

What Type
Syntax FileExt(fileName)
fileName string
Return type string

The operator looks for the last dot . in the file name and returns what is to the right of it.

Example: FileExt("C:\Temp\this_is_a_file.csv") will return csv.

Clone this wiki locally