>>Very similar to EDI. Is there always a CR, LF, or some sort of character at the end of each record (which is called a segment in EDI terms)?
>
>I haven't seen the output specs in detail, but it looks like there is. Peter posted some code that looks like a good start. Did you have any other ideas?
Yes. I would use alines(). Hang on a sec, I'm looking at some code to post up here.
Steve Gibson