To Lower Case
Converts a string to lower case.
Category | Strings |
Author | Pol Gubau |
Since | 1.0.0 |
Last Updated | 2025-03-15 |
Type | Sync |
Compatibility | Universal |
Example
Input
toLowerCase('HELLO WORLD')
Output:
'hello world'
Return
Returns the lower-cased string.
Type: string
Props
Name | Type | Default | Required | Description |
---|---|---|---|---|
str | string | null | Yes | The string to convert to lower case. |
Notes
This function converts all characters of the string to lowercase.
Tags
- string
- lowerCase
- conversion