see readline and split for a start.
Cheers Rolf
In reply to Re: Parsing a Pipe delimied file by LanX in thread Parsing a Pipe delimied file by anjamesc