See later in this thread for what I believe is an implementation closer to the OP's needs.
Dave
In reply to Re: Re: pushing similar lines into arrays
by davido
in thread pushing similar lines into arrays
by Phydro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |