Home Contents | # string.upper | String | Lua Commands

## SYNOPSIS

string.upper(s)

## DESCRIPTION

Receives a string and returns a copy of this string with all lowercase letters changed to uppercase. All other characters are left unchanged.

## NOTES

This function works for ASCII and ISO 8859-1 codes only. For unicode support, use the UTF8 aware function string.utf8upper.

## RETURN VALUE

Returns a string.

## EXAMPLE

>
print(string.upper("tEst"))
TEST