|
-
Apr 1st, 2007, 01:08 PM
#1
Thread Starter
Lively Member
extract data from text file
i want extract data from "sample.txt" and save the data which have been extract to a new text file.
when have "START 129, S",then get the data below it & before the "stop"
for example:
START 129, S, 125=1;156=1;133=300000
100.05062000 3.69064000;49
STOP
START 129, S, 125=1;156=1;133=250000;93=1
100.22346000 2.88787000;43
100.18942000 2.91320000;39
STOP
data after extract is like below:
100.05062000 3.69064000;49
100.22346000 2.88787000;43
100.18942000 2.91320000;39
how to write the code?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|