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分钟 | 100% | 87 CPM | 14 次 | 0 | 不及格,加强练习! |
Inspirational quotes: 示爱者是动物,被爱者是植物,如果爱被拒绝,离开的当然是动物,因为植物是不会生出脚来跑路的。 ——张爱玲 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others
|