[RESOLVED] How read a section of a file?
#1

Hi,

I want read only a section of a file, delimited with a start and a end, exemple:

Код:
section1_start
s1_line1
s1_line2
section1_end
section2_start
s2_line1
s2_line2
s2_line3
section2_end
section3_start
s3_line1
section3_end
For exemple, I want read only section2 lines:
Код:
s2_line1
s2_line2
s2_line3
How to do this? thanks
Reply


Messages In This Thread
[RESOLVED] How read a section of a file? - by Nubotron - 16.04.2009, 01:20
Re: How read a section of a file? - by Backwardsman97 - 16.04.2009, 01:23
Re: How read a section of a file? - by Nubotron - 16.04.2009, 01:46

Forum Jump:


Users browsing this thread: 2 Guest(s)