FILENAME

The FILENAME function returns the file name or path portion of the input path.

Input

Number of Connections: 1
InputData TypeDescription
Input1StringThe file path.

Output

OutputData TypeDescription
Output1StringThe file name or path.

Property

NameProperty TypeDescription
Getchoice Defines which portion of the input path to return.

Name - Outputs the file name.
Directory - Outputs the directory path.

Topic


Example

PropertyOutput
Input 1c:\Data\index.xmlGetNameindex.xml

PropertyOutput
Input 1c:\Data\index.xmlGetDirectoryc:\Data\