Lua 编程/大小写敏感性
外观
lua 解释器具有大小写敏感性。这意味着包含小写字母的标识符名称将被视为与包含大写字母的标识符名称不同且独立
-- These variables are all different dog = "Benjamin" Dog = "Samba" DOG = "Bernie"
print ("The dogs are named " .. dog .. ", " .. Dog .. ", and " .. DOG)
lua 解释器提供以下用于将字符串转换为大写或小写的功能