The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

toLowerCase Method (JavaScript)

Converts all the alphabetic characters in a string to lowercase.

"String Literal".toLowerCase() 

The toLowerCase method has no effect on non-alphabetic characters.

The following example demonstrates the effects of the toLowerCase method:

var str1 = "This is a STRING.";
var str2 = str1. toLowerCase();

// Output: this is a string.

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.

Applies To: String Object (JavaScript)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft