Returns the calling string value converted to lowercase.
Method of 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.
Examples
The following example displays the lowercase string "alphabet":