a = "This is some text"
b = "This text"
I want to compare the variable b in a and should return true even if the text contains more than two words like
a = "This is another text here"
b = "This another here"
even if I compare b in a should return true in python
Condition: True
== All words in b
found, the same order, in a
.
In the above examples, the words have to be in the same order and upper/lowercase.