I have a sentence and a list of substrings. How can I check the exact substring occurs in that sentence or not?
For example:
Credit card customers will be allowed interest-free installment plans for all school fee payments as well as grocery purchases with no processing fees for up to six months.
and now I have a list of words
["credit card customers","school fee payment","six months"].
How can I check if these substrings exist in above string?