Path-cash-name: Get the name of the last element in the path (Incl....

Description Value See Also Examples

Description

Get the name of the last element in the path (Incl. extension)

Value

the string corresponding to the path's name

See Also

Other Path: Path$.., Path$., Path$dir, Path$join, Path$new, Path$parent, Path$show, Path, %//%

Examples

1
2
path <- Path$new("path/to/some/element")
path$name

pathlibr documentation built on May 1, 2019, 8:22 p.m.