摘要: local str = "aaa.bbb.bbb.txt"--获取文件名function getFileName(str) local idx = str:match(".+()%.%w+$") if(idx) then return str:sub(1, idx-1) ... 阅读全文
posted @ 2015-01-12 17:03 缤纷世界 阅读(10392) 评论(0) 推荐(1) 编辑