Skip to content

String Lower

The string::lower function converts all characters in a string to lowercase.

Syntax

string::lower(<string>)

Parameters

  • string: The input string to be converted to lowercase.

Returns

  • String: A new string with all characters in lowercase.

Example

Try it out below!
string::lower("HELLO")

This function is useful for standardizing string case for comparisons or consistency.