Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
7.2::

Method dirname()


Method dirname

string dirname(string path)

Description

Remove the last segment from path .

This implementation differs from dirname() in that it will return "" for the input "/" while dirname() will return "/".

See also

dirname()