How to find a word in a list correctly?

Load your wordlist into a string and compare the Guess word to the list String Variable. Make sure the list begins and ends with whatever the separator character is. (like space, comma or newline) Otherwise you’ll get partial word matches. “ree” would match “green” but " ree " wouldn’t match " green ". Make sure the search word also has the characters. See the post you posted a link to.

StrFind returns the position or -1, you can use the compare 2 numbers and do something if StrFind ≠ -1.

image