Expression Functions > File Path Functions
extension
Extracts the file extension from a path.
extension(path:string) -> string
Name
Type
Description
path
string
Specifies the path to a file.
The following expression returns ".txt":
extension("c:\temp\file.txt")