String.toLowerCase() (Method)

Converts a string to all lower case.

Availability:

ECMAScript edition - 2
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise server - 2.0
Opera - 3.0
Property/method value type:String primitive
JavaScript syntax:-myString.toLowerCase()

This method returns a string primitive containing the value of the object with all characters converted to lower case.

The original string is converted from arbitrary case to lower-case on a character by character basis.

The characters in the output string will be the lower case equivalents of the characters in the input string according to the rules defined by the Unicode 2.0 standard.

The Canonical Unicode 2.0 mapping will be used and therefore no special international character handling semantics take place. However non-ECMA compliant implementations may provide localization support not specified by ECMA 262.

This method is intentionally generic and may be applied to a variety of object types other than strings.

The effect of this method may depend on the locale settings in a fully localizable implementation.

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

Cross-references:

ECMA 262 edition 2 - section 15.5.4.11

ECMA 262 edition 3 - section 15.5.4.16