Split string in groups of n consecutive sentences or in small paragraph to iterate a function over it

前端 未结 0 1632
说谎
说谎 2020-12-11 13:04

I need to run a function over a large set of string which consists of more than 500 sentences. I would like to iterate the function after every 20 sentences.

I tried

相关标签:
回答
  • 消灭零回复
提交回复
热议问题