摘要:
初始化的地方 table.raw_pairs = _G.pairs _G.pairs = function(tb) if tb.__invoke then return tb._invoke(table.raw_pairs) end return table.raw_pairs(tb) end fu 阅读全文
摘要:
【find实现字符串分割】 # 只支持ascii字符,不支持中文这种 function Split(str, delimiter) local arr = {} local index = 1 while true do local index1, index2 = string.find(str, 阅读全文