会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
仑仑瞎掰呼
博客园
首页
新随笔
联系
订阅
管理
2019年10月29日
lua分割字符串
摘要: --sep 分割字符串表示 fields返回的数组 function string:split(sep) local sep, fields = sep or "\t", {} local pattern = string.format("([^%s]+)", sep) self:gsub(patt
阅读全文
posted @ 2019-10-29 14:31 仑仑
阅读(465)
评论(0)
推荐(0)
公告