String.removeAccents
removeAccents() -> string
Description
Replace all accented, diacritic characters (e.g. Latin extended) to their ASCII equivalent.
Capitalization is preserved.
$s = 'Hēllő Ťhērę.' $s.removeAccents() //= 'Hello There.'
Replace all accented, diacritic characters (e.g. Latin extended) to their ASCII equivalent.
Capitalization is preserved.
$s = 'Hēllő Ťhērę.' $s.removeAccents() //= 'Hello There.'