The FILENAME function returns the file name or path portion of the input path.
| Input | Data Type | Description |
|---|---|---|
| Input1 | String | The file path. |
| Output | Data Type | Description |
|---|---|---|
| Output1 | String | The file name or path. |
| Name | Property Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| Get | choice |
Defines which portion of the input path to return.
|
Get property is set to Directory but there is no directory path in the input string.| Property | Output | |||
| Input 1 | c:\Data\index.xml | Get | Name | index.xml |
| Property | Output | |||
| Input 1 | c:\Data\index.xml | Get | Directory | c:\Data\ |