Tom,
Alines will see two chr(13) characters as a single line terminator. It sees any consequtive sequence of chr(10) and chr(13) as one terminator.
You could
x = strtran( x, chr(13)+chr(13), chr(13) + " " + chr(13) )
to see your empty fields.
>I'm using an api call into an application I support that returns a group of records represented as a string, with a CHR(13) between each field and a CHR(10) at the end of each field. I've been parsing them by hand, but Tamar's presentation at GLGDW got me to looking and there it was; ALINES. Does exactly what I need except that if the field is empty in the sending app, I get two chr(13) next to each other and ALINES sees it as a single line.
>
>Has anybody else run into this, and if so do you know of a way to work around it? I'd like to use ALINES and then APPEND FROM ARRAY. Should cut my processing time significantly, if I can get it to work.