toLowerCase

Returns the calling string value converted to lowercase.

Applies to

String

Syntax

toLowerCase()

Parameters

None

Description

The toLowerCase method returns the value of the string converted to lowercase. toLowerCase does not affect the value of the string itself.

Example

The following example displays the lowercase string "alphabet":

var upperText="ALPHABET"
Console.Write(upperText.toLowerCase())

See also

String:toUpperCase