Reading certian lines in a text file

  • Thread starter Thread starter id10t error
  • Start date Start date
I

id10t error

Hello,

I know how to read a text file. However now i need to start reading a
file on line 4 of the text file. Is there something that will allow me
to start reading on a certian line number?
 
id10t error said:
I know how to read a text file. However now i need to start reading a
file on line 4 of the text file. Is there something that will allow me
to start reading on a certian line number?

Not really. Nevertheless, you can read the lines until the line counter
reaches the line you are attempting to read and discard the other lines
read.
 
Back
Top