Home  Contents

string.lower

String Lua Commands

SYNOPSIS

string.lower(s)

DESCRIPTION

Receives a string and returns a copy of this string with all uppercase letters changed to lowercase. 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.utf8lower.

RETURN VALUE

Returns a string.

EXAMPLE

print(string.lower("TeST"))
test