function split( str,reps )
local resultStrList = {}
string.gsub(str,'[~'..reps..']+',function( w )
table.insert(resultStrList,w)
end)
return resultStrList
end...
English Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《分割字符》 | 182字 | 2.2分钟 | 100% | 71 CPM | 17 次 | 0 | 不及格,加强练习! |
Inspirational quotes: 祖国如有难,汝应作前锋。 ——陈毅 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |