Looking through a string but avoiding substring

前端 未结 0 1700
小蘑菇
小蘑菇 2020-11-27 02:50

I need to check if a string appear in a text. I want to avoid substring.

string = "one"
text = "bees make honey

if string in text 

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