Reference
Path
Basename
| Input | A file path string. |
| Output | The filename portion of the path. |
Signature
Example
Dirname
| Input | A file path string. |
| Output | The directory portion of the path. |
Signature
Example
Extension
| Input | A file path string. |
| Output | The file extension (including the dot). |
Signature
Example
Is Absolute
| Input | A file path string. |
| Output | True if the path is absolute, false otherwise. |
Signature
Example
Join
| Input | Two path segments. |
| Output | The path segments joined together with the appropriate separator. |
Signature
Example
Normalize
| Input | A file path string. |
| Output | The normalized path with redundant separators and segments removed. |
Signature
Example