Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » file manipulation » baseFilename
next | previous | forward | backward | up | index | toc

baseFilename -- the base part of a filename or path

Description

i1 : baseFilename "/a/b/dir/"

o1 = dir
i2 : baseFilename "/a/b/file"

o2 = file

See also

For the programmer

The object baseFilename is a function closure.


The source of this document is in Macaulay2Doc/ov_system.m2:1362:0.