I'll try to explain my code. He look up words in a text, so that it stores each line. The problem is that if the word is at the end of the sentence, it does not recognize. Because it does the following, it is sought as the word "word " (the word plus a space), to differentiate word! = wordblabla. So I need to add at the end of each line space. For if the word is to look at the end of the sentence, he also recognizes.