Function normalize
Normalizes a string.
Accents are removed, the string is downcased and characters that don't match [a-z0-9] are replaced by the separator character.
Parameters summary
string |
$str |
The string to normalize. |
string |
$separator = '-' |
The separator characters replaces characters the don't match [a-z0-9]. |
string |
$charset = CHARSET |
The charset of the string to normalize. |
Return value summary
string
|