I have a text file that has consequtive integer values around strings. This file looks like that:
This is the set for x = 100
---------------------------
For y=COLUMN 1 we have
1232
3ff3
4a45
23d4
5323
...
...
END of COLUMN 1 meas
For y=COLUMN 2 we have
1232
3c43
4545
2d24
5a23
...
...
END of COLUMN 2 meas
This is the set for x = 200
---------------------------
For y=COLUMN 1 we have
2b23
1232
d387
6f74
4c47
...
...
END of COLUMN 1 meas
For y=COLUMN 2 we have
354d
a546
3c63
5a46
a349
...
...
END of COLUMN 2 meas
This is the set for x = 530
---------------------------
..........
..........
What I would like to do is to strore the values in between the strings into seperate arrays. That is, from 'For y=COLUMN 1 we have' to 'END of COLUMN 1 meas' will be strored in to ArrayA, from 'For y=COLUMN 2 we have' to 'END of COLUMN 2 meas' into ArrayB, etc.
After that, I need to find all the values fo 'x' and store them into a string array named ArrayX. That is, this should be look like that:
ArrayX =
'x=100' 'x=200' 'x=501'
If anyone can help, I will really appreciate it.