Hi,

Anyone have any idea on how to search a particular string in a text file?
If using StreamReader, can i do that?
I am writting a function to return true,false; if i could find the particular string.
Please advice. Thanks.

e.g, i wan to open sample.txt to look for "nine"? do i need to read line by line?or i have other option? thanks

sample.txt
one,1
two,2
three,3
..............