摘要: 一、包含空字符串 1 function split(str, sep) 2 local res = {} 3 string.gsub(str, '[^' .. sep .. ']*', function(w) 4 table.insert(res, w) 5 end) 6 return res 7 阅读全文
posted @ 2020-02-21 16:36 乄末曲丶 阅读(569) 评论(0) 推荐(0)