Get file name
Return the last part of a path, with and without its extension; the file does not need to exist.
Command in the File toolkit · id ooa.file/get_name · 1 input (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | File or folder path. |
Outputs
| Output | Type | What it is |
|---|---|---|
| name | String | Name with extension, e.g. report.pdf. |
| name_without_extension | String | Name without the last extension, e.g. report. |
| extension | String | Extension without the dot, e.g. pdf; empty when there is none. |