in reply to Re: text to arrayin thread text to array
Your mistake is that you do not tell us what you expect, and how your program fails to work for you.
Also, please show 10 lines of relevant input, and the corresponding output, together with what the output should be.