Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

toLowerCase Method

Returns a string where all alphabetic characters have been converted to lowercase.

function toLowerCase() : String

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

The following example demonstrates the effects of the toLowerCase method:

var strVariable = "This is a STRING object";
strVariable = strVariable.toLowerCase();

The value of strVariable after the last statement is:

this is a string object
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.