-- 5.0 版 return function(input) -- 5.0 无 string.upper 全局? string 库在 string 表里 local s = string return s.upper(input) end