Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript String Object toLowerCase Method

Places the text in a String object in lowercase characters.

Syntax: JScript String Object toLowerCase Method

strVariable.toLowerCase( )

"String Literal".toLowerCase( )

Arguments: JScript String Object toLowerCase Method

strVariable

The name of a String object.

Remarks: JScript String Object toLowerCase Method

The toLowerCase method has no effect on nonalphabetic 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

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.