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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.