sorry, missed the lines part
well, then my solution would be to count the carriage return/line feeds and use that to split the lines up. You would probably want to keep a counter so that you don't keep recounting the lines. You would want to use a loop, probably a WHILE loop (I don't use loops too often, so look in CR help for the syntax). Your other friend will be INSTR to find the position of the carriage return/line feed( CHRW(13) + CHRW(10) ).
HTH