get-folder
Returns the folder name of the file path including the trailing slash, or backslash 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 c:\data\.