toLocaleUpperCase (JavaScript)
Converts all characters of a string to upper case taking into account the host locale.
Defined in
String (Standard - JavaScript)Syntax
toLocaleUpperCase() : string
Return value | Description |
---|---|
string |
The string in locale upper case. |
Examples
The following example converts a String object to locale upper case.cities = new String("Paris Moscow Tokyo");
cities.toLocaleUpperCase()