URL text segment sanitizer. Sanitizes the content into a valid URL segment value which is usable in an URL without further processing. For example, the text "I am Mr. Brown, how are you?" becomes "i-am-mr-brown-how-are-you". Special characters like diacritics or umlauts are transliterated. The built-in character map can be overriden or extended by providing an associative array of custom mappings.
Also useful when creating anchor link names, for example for news entries in your custom EXT:news list template, in which case each news item's title would become an anchor:
And links would look much like the detail view links:
The string to sanitize.
Associative array of additional characters to replace or use to override built-in mappings.