in reply to Re: Reading different format records from an ASCII file
in thread Reading different format records from an ASCII file
The OP has this covered already. The difference in field layout is flagged by the initial character, and the OP's code already branches on that, doing a different split in each case.