KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have two strings: string1 = "theater is small"; string2 = "The small thing in the world"; I need to check weather the string "the" is present in the strings or not. I can use the contains function, but can it do a whole word match? i.e it should not match with "theater" of string1!
Tags (comma-separated)
Save Edits
Cancel