Macaulay2 » Documentation
Packages » Macaulay2Doc :: baseFilename
next | previous | forward | backward | up | index | toc

baseFilename -- the base part of a filename or path

Synopsis

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.