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.0分钟 | 99% | 85 CPM | 14 次 | 2 | 不及格,加强练习! |
The wrong word this time: ],, | |||||||
Inspirational quotes: 丈夫经此宁非福,破涕灯前一粲然。 ——陆游 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |