reduce_double_slashes($str)
Parameters: |
|
---|---|
Returns: |
A string with normalized slashes |
Return type: |
string |
Converts double slashes in a string to a single slash, except those found in URL protocol prefixes (e.g. http://).
Example:
1 2 |
Please login to continue.