String.toLocaleUpperCase() (Method)

Converts a string to all upper case.

Availability:

ECMAScript edition - 3
JavaScript - 1.5
JScript - 5.5
Internet Explorer - 5.5
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myString.toLocaleUpperCase()

The result of this method is a string primitive containing the value of the object with all characters converted to upper case.

The original string is converted from arbitrary case to upper case on a character by character basis, taking account of the locale when testing characters.

The characters in the output string will be the upper case equivalents of the characters in the input string according to the rules defined by the Unicode 2.0 standard, and the locale specific rules regarding special (accented) characters.

See also:Bit, Character handling, Character-case mapping, String.prototype, String.toLocaleLowerCase(), String.toLowerCase(), String.toUpperCase()

Cross-references:

ECMA 262 edition 3 - section 15.5.4.19