J
juli jul
Hello,
I have a text file and I have to check if the line I read contains some
word,the problem is how to read it in a loop and check because if I am
doing something like this:
while(((line=file.ReadLine())!=null)&&(line.IndexOf("abc")==-1))
I will read additional line which doesn't consit abc ,how to avoid this?
Thanks a lot!
I have a text file and I have to check if the line I read contains some
word,the problem is how to read it in a loop and check because if I am
doing something like this:
while(((line=file.ReadLine())!=null)&&(line.IndexOf("abc")==-1))
I will read additional line which doesn't consit abc ,how to avoid this?
Thanks a lot!