tolower()

Learn how to use the tolower() function to convert the input string to lower case.

Converts the input string to lower case.

Syntax

tolower(value)

Parameters

NameTypeRequiredDescription
valuestring✔️The value to convert to a lowercase string.

Returns

If conversion is successful, result is a lowercase string. If conversion isn’t successful, result is null.

Example

The following example checks whether the tolower() function converted the capitalized input string to lowercase.

tolower("Hello") == "hello"