摘要: function FGUtilStringSplit(str,split_char) ------------------------------------------------------- -- 参数:待分割的字符串,分割字符 -- 返回:子串表.(含有空串) local sub_str_tab = {}; while (true) do local pos = string.find(str, split_char); if (not pos) then sub_str_tab[#sub_str_tab + 1] = str; break; end local sub... 阅读全文
posted @ 2013-02-17 09:58 byfei 阅读(1262) 评论(0) 推荐(0) 编辑