toLowerCase
Summary
Converts all the alphabetic characters in a string to lowercase.
Syntax
strVariable.toLowerCase()
"String Literal".toLowerCase()
Examples
The following example demonstrates the effects of the toLowerCase method.
var str1 = "This is a STRING.";
var str2 = str1. toLowerCase();
document.write(str2);
// Output: this is a string.
Remarks
The toLowerCase method has no effect on non-alphabetic characters.
See also
Other articles
Attributions
Microsoft Developer Network: Article