JPath::clean
Function to strip additional / or \ in a path name.
Signature
public function clean(string
$path,
[string
$ds = DIRECTORY_SEPARATOR] )
Parameters
-
$path
- The path to clean.
-
$ds
- Directory separator (optional).
Returns
- string
- The cleaned path.