filename-with-extension
Extracts the file name and extension from a path.
Signature
filename-with-extension(path:string) -> string |
Parameters
Name | Type | Description |
---|---|---|
path | string | Specifies the path to a file. |
Examples
The following expression returns "file.txt":
filename-with-extension("c:\temp\file.txt") |