http://qs321.pair.com?node_id=1151191


in reply to extract range from array of data

Greetings,
First, loading it all inside an array might not be a good idea, if its a very large file you are asking for trouble, why not read it line by line until you reach start, save the lines until you read end and close the file at that time?