📜  将字符串转换为小写 lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.426000             🧑  作者: Mango

代码示例1
-- 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'