Pike v8.1 release 6

Method MasterObject()->basename()


Method basename

string basename(string x)

Description

Returns the last segment of a path.

See also

dirname(), explode_path()