justname. Name of file without extension

^file:justname[filespec]

Retrieves name of file without path and extension from full path (
filespec).

Example
^file:basename[/a/some.tar.gz]

...will return...

some.tar.gz


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 20.09.2007