-
Notifications
You must be signed in to change notification settings - Fork 0
ProtoString toLatin() Method
Seth Clydesdale edited this page Jun 13, 2015
·
3 revisions
Converting a string to basic latin.
'Crème à l\'Orange'.toLatin(); // returns 'Creme a l'Orange'
'Bonne journée et à bientôt !'.toLatin(); // returns 'Bonne journee et a bientot !'
The toLatin
method converts accented and some special characters to basic latin. It can be used to convert text input by users for an accurate comparison, or to simplify the string with basic characters.
String.toLatin();
Home • History • ProtoString • Created by Seth Clydesdale