read the text file

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
 
J

Joe Cool

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?
 
A

Andrew Morton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top