lua用指定字符串切割另一个字符串 用到了lua的操作字符串方法 string.find, string.sub 具体请看代码-- 用指定字符串切割另一个字符串local function strSplit(delimeter, str) local find, sub, insert = string.find, string.sub, table.insert local res = {} Lua 2024-01-17 135 点赞 2 评论 204 浏览