File::stripLeadingSeparators() (Previous) (Next) File::unlock()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File::stripTrailingSeparators()

File::stripTrailingSeparators() -- strips trailing separators from a path

Leírás

This method removes the trailing directory separator (like "/" on *nix) from a path name.

Paraméterek

  • string $path - the path name where the trailing separator should be removed from.

  • string $separator - optional string that defines the separator. This parameter defaults to the value of the constant DIRECTORY_SEPARATOR that is pre-defined by PHP.

Visszatérési érték

This methods returns the given path name without a trailing directory separator.

Megjegyzés

Ez a függvény meghívható statikusan.

File::stripLeadingSeparators() (Previous) (Next) File::unlock()

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.