Convert to lowercase
Syntax
$string.toLowerCase()
Description
All letters of the string
string will be converted to lowercase.
Parameters
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
string | String | String that is to be converted. | yes |
Return value
Type: String
string
in lowercase.
Examples
toLowerCase("HELLO WORLD!")
Output: hello world!