I got big file with a format like this(its readed in one char at a time):
Lorem ipsum dolor | sit amet, | consectetur | adipiscing elit.
That is seperated by a "|" symbol.
I want to store these in an array. Like this:
0 => Lorem ipsum dolor
1 => Lorem ipsum dolor | sit amet
2 => Lorem ipsum dolor | sit amet, | consectetur
3 => Lorem ipsum dolor | sit amet, | consectetur | adipiscing elit.
Is there a way to this without needing to go through the entire line again to get them seperated ?