string.upper()

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

Overview

Change lowercase characters in a string to uppercase. All other characters are left unchanged.

Syntax

string.upper( s )

s:upper()
s (required)

String. The string.

Example

print( string.upper( "Hello, Corona user!" ) )  --> HELLO, CORONA USER!