You want to look at split.
In reply to Re: Parsing list by hdb in thread Parsing list by Anonymous Monk