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% | 76 CPM | 17 次 | 1 | 不及格,加强练习! |
The wrong word this time: t | |||||||
Inspirational quotes: 在这世界上,活着才是胜利! ——马歇尔·D·蒂奇 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |