Though, I think you have the right idea, the array will most likely originate from a file-read.
So it's obviously a XY Problem and should be solved directly.
In reply to Re^2: Clubbing array elements together:
by ;-)
in thread Clubbing array elements together:
by newbie1991
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |