lua convert to lowercase code example
Example 1: lowercase lua
myString = myString:lower()
-- or
myString = string.lower(myString)
Example 2: convert string to lowercase lua
-- convert a string to upper case
local s = 'hello world' s = s:upper()
--> 'HELLO WORLD'
-- convert a string to lower case local s = 'HELLO WORLD'
s = s:lower()
--> 'hello world'