in reply to Re^3: Re-formatting multi-line records
in thread Re-formatting multi-line records

Code works well. Thanks tachyon for your help.