String exact match

后端 未结 7 1575
悲哀的现实
悲哀的现实 2020-11-29 08:13

I have a string in which the word \"LOCAL\" occurs many times. I used the find() function to search for this word but it returns another word \"Locally\" as wel

相关标签:
7条回答
  • 2020-11-29 09:14

    Look for ' local '? Notice that Python is case sensitive.

    0 讨论(0)
提交回复
热议问题