Best way to check if a string contains consecutive substring?

前端 未结 0 1955
面向向阳花
面向向阳花 2020-12-03 07:31

I am trying to get a best way to check if a string has consecutive appearances of a particular substring. returning a boolean value e.g. only returning True if the whole str

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