got a text file that looks like
What I want to do is to open the txt file and search for bbb.
If the string is found then output string bbb "found" if not then "not found".
The output message should be displyed just once. I dont need the output message found/not found to be displayed per line.
Does anybody knows how to do this?