I have a text file:
primary1 : value;
secondary1: value;
teritiary1: value;
primary2 : value;
secondary2: value;
teritiary2: value;
While I can very well filter all the primary values, how do I get to read the immediate next line associated with each primary line?
Also, I'm interested in knowing how to read the 3rd or 'n'th line from the primary line?
Thanks in advance for any help.
- Ram
primary1 : value;
secondary1: value;
teritiary1: value;
primary2 : value;
secondary2: value;
teritiary2: value;
While I can very well filter all the primary values, how do I get to read the immediate next line associated with each primary line?
Also, I'm interested in knowing how to read the 3rd or 'n'th line from the primary line?
Thanks in advance for any help.
- Ram