count appearnce of multi-word substring in some text

后端 未结 0 446
抹茶落季
抹茶落季 2021-01-28 05:47

So for a single word substring count in some text, I can use some_text.split().count(single_word_substring). How can I do that for a multi-word substring count in s

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