next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: baseFilename

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