how to search for words in a string in a text file : Trying to match words from user input with a string from a text file.
Basically, the text file is a single string containing numerous words, which acts as a "dictionary".
The goal is to match all possible user inputted words with words from the text file(dictionary).


  [1]: http://i.stack.imgur.com/sjcTH.jpg