string.upper()

Type Function
Library string.*
Return value String
Revision 2017.3178
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!