get-fileext
Returns the extension of the file path including the dot "." character.

Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Argument | Description |
---|---|
filepath | Mandatory argument. Supplies the file path to be processed. |
Example
If you supply "c:\data\Sample.mfd" as argument, the result is .mfd.