string.lower()

Type Function
Library string.*
Return value String
Revision Release 2024.3703
Keywords string, lower, lowercase
See also string.upper()

Overview

Change uppercase characters in a string to lowercase.

Note that the definition of uppercase depends on the current locale.

Syntax

string.lower( s )

s:lower()
s (required)

String. Any string.

Example

print( string.lower( "Hello, Corona UsEr!" ) )  --> hello, corona user!