Finding a specific word(string) within a txt file...

I would like to search a txt file for a specific word...how do I search through a text file for that word...


...also, I would like to place the word within a "pair" so that after the word is found in the text file, it will also return the "second" value, which could be noun, verb, abjective, adverb...like a dictionary program...
Topic archived. No new replies allowed.