BY USING (index and find ), we able to find exact and some part of the word also. But, I want only exact .
for example,
s= 'Sports drinks seem to have become a norm in the fitness world. '
t= sports
it should return yes , but when I search
t= "spor"
it should return "no"
for example,
s= 'Sports drinks seem to have become a norm in the fitness world. '
t= sports
it should return yes , but when I search
t= "spor"
it should return "no"