toLowerCase (JavaScript)
Converts all characters of a string to lower case.
Defined in
String (Standard - JavaScript)Syntax
toLowerCase() : string
Return value | Description |
---|---|
string |
The string in lower case. |
Examples
The following example converts a String object to lower case.cities = new String("Paris Moscow Tokyo");
cities.toLowerCase()