How can I make text lowercase?
string.lower("HeLlO") → “hello”
local message = "HELLO"
print(message:lower()) -- hello
or the way @MP3Face suggested. The difference is that in the : way, the message [self] is automatically there.
How can I make text lowercase?
string.lower("HeLlO") → “hello”
local message = "HELLO"
print(message:lower()) -- hello
or the way @MP3Face suggested. The difference is that in the : way, the message [self] is automatically there.