Qurak

FileNameDrop

Available

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

FileNameDrop["name", n]
FileNameDrop["name", - n]
FileNameDrop["name", {m, n}]
FileNameDrop["name"]
FileNameDrop["a/b/c.txt"] → a/b

Topics

Related

All 6300 functions · Use this from an MCP client