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

Method MasterObject()->explode_path()


Method explode_path

array(string) explode_path(string p)

Description

Split a path p into its components.

This function divides a path into its components. This might seem like it could be done by dividing the string on <tt>"/"</tt>, but that will not work on some operating systems. To turn the components back into a path again, use combine_path() .