只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-06-28 16:54 小辉√ 阅读(0) 评论(0) 推荐(0)
摘要: 参见:http://blog.csdn.net/kuloveyouwei/article/details/9099361 阅读全文
posted @ 2015-05-15 13:23 小辉√ 阅读(174) 评论(0) 推荐(0)
摘要: Lua中我们可能会遇到各种查找替换的相关操作,今天把看到的记录了一下;find:字符串查找gfind:全局字符串查找gsub:全局字符串替换gmatch:返回找到的字符串的迭代器string.gsub(str,pattern,repl,n)根据给定的配对表达式对源字符串str进行配对, 同时返回源字... 阅读全文
posted @ 2015-05-15 11:41 小辉√ 阅读(344) 评论(0) 推荐(0)