>>Yeah, but you missed occurances of CR sans LF, LF sans CR, multiple LFs, FFs, tab translation...you need something on the order of a more sophisiticated tool than just simple STRTRAN()/CHRTRAN() and a little looping.
>
>
>BTW, what character is a form feed?
>
FF = CHR(14) I think. It's been a while since I hit the ASCII tables. THe one thing I miss from the menu in FPDOS...the ASCII chart. (Yes, I do know about the Character Map tool, I just can't rememeber the damned ASCII chart any more. My mind is going...
>Any character like this I wanted to deal with could be handled by just adding that character to the string in the second parameter of the first line.
>
>BTW, I use this function in production to clean up SQL statements in EView before using them to create a view.