Udostępnij za pośrednictwem


toLowerCase Method

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

function toLowerCase() : String

Remarks

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

Example

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

Requirements

Version 1

Applies To:

String Object

See Also

Reference

toUpperCase Method