Home »
Code Examples »
Lua Code Examples
Lua - Manipulating the strings to upper and lower case Code Example
The code for Manipulating the strings to upper and lower case
str = "Hello, world!";
print(string.upper(str))
print(string.lower(str))
--[[
Output:
HELLO, WORLD!
hello, world!
--]]
Code by IncludeHelp,
on August 25, 2022 22:58