+ Start a Discussion
bca321bca321 

line


Message Edited by bca321 on 03-02-2009 08:42 PM
SuperfellSuperfell

how are you reading/parsing the text file ?

http://www.catb.org/~esr/faqs/smart-questions.html 

bca321bca321

 

Message Edited by bca321 on 03-02-2009 08:39 PM
SuperfellSuperfell
put an if statement in your for loop so that you only process the lines you want to. (if its just line numbers, look at i)
bca321bca321
Message Edited by bca321 on 03-02-2009 08:39 PM
SuperfellSuperfell
pick a delimiter to start (e.g. line starts with RECIPTS), and pick a delimiter to stop (e.g. an empty line), then keep track if you're in the section you care about or not.