Skip to content

FileNameDrop

Drops the last component of a path — the directory only.

$ wo 'FileNameDrop["a/b/c.txt"]'
a/b