All this code does is push the whole file into a single array haveing removed every line that contains the text ">DATA SET". Your code does not even ensure that this is found at the start of the line.
What you end up with is an array of everything munged together, all grouping information lost with no way to recover it.
It's hard to believe that this will meet the OP's requirements.
Examine what is said, not who speaks.
In reply to Re: Re: writing to arrays
by BrowserUk
in thread writing to arrays
by Superman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |