GetFileFromPath()
Extracts a filename from an absolute path.
GetFileFromPath( path=string );
Returns: String
| Argument | Description |
|---|---|
|
path
string,
required
|
edit
file path |
Examples
editmy_file = getFileFromPath("filepath\file.ext");
dump(my_file); // file.ext
See also
- File handling
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)