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.
This methods returns the given path name without a trailing directory separator.
Пример 39-1. Using File:stripTrailingSeparators()
This example will print /home/foo/lala. |
Пред. | Начало | След. |
File::stripLeadingSeparators() | Уровень выше | File::unlock() |
HIVE: All information for read only. Please respect copyright! |