read the text file

  • Thread starter Thread starter friend
  • Start date Start date
F

friend

if we have text file as below:
1
2
3
4
5
56
567
6
7
76
567

ReadToEnd option for reading the whole text file
ReadLine reads only a single line
how to read the text file from 56 to 7 ??

Thanks
 
if we have text file as below:
1
2
3
4
5
56
567
6
7
76
567

ReadToEnd option for reading the whole text file
ReadLine reads only a single line
how to read the text file from 56 to 7 ??

Umm, maybe doing ReadLine until you hit 56 and then ReadToEnd?
 
friend said:
if we have text file as below:
1
2
3
4
5
56
567
6
7
76
567

ReadToEnd option for reading the whole text file
ReadLine reads only a single line
how to read the text file from 56 to 7 ??

Why do you want to read those lines in particular? What are the criteria?

Andrew
 
Back
Top