Comparison in Text file

I have a string with multiple words and have a text file with some of these words in a text file. I want to check if any words are present in text file.
Please help.

example, input = “word1 word2 word3”
textfile =
word1
word3

Please check this post -

Regards,
Karthik Byggari

3 Likes

Thank you, worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.