File::stripTrailingSeparators()

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

Synopsis

require_once 'File.php';

string File:stripTrailingSeparators (string $path [, string $separator = DIRECTORY_SEPARATOR])

Описание

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

Параметр

Возвращаемое значение

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

Заметка

Эта функция может быть вызвана статически.

Пример


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ