File System
Extract and manipulate path components — directory, filename, and extension.
File System
| Modifier | Description |
|---|---|
dirname | Dirname returns the directory portion of a file path. |
ext | FilenameExt returns the file extension without the leading dot. |
ext-dot | FilenameExtDot returns the file extension including the leading dot. |
ext-prepend | FilenamePrependExt inserts an additional extension before the existing file extension. |
ext-trim | FilenameTrimExt returns the file path without its extension. |
filename | Filename returns the base file name from a path, including the extension. |
How is this guide?