FileExt Operator - Haufe-Lexware/haufe.no-frills-transformation GitHub Wiki
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.