replaceAccents

replaceAccents ( boolean text ) : string

Replace all Replaces all accented characters with their non-accented equivalent.
Note : œ is replaced by oe too.

Example


console( replaceAccents("j'ai été français") ) //-> j'ai ete francais

Parameters

text

Text with accents.