David,
Good catch for the problem using chrtran().
But why wouldn't this work:
lcText = strtran( lcText, chr(13)+chr(10), "%0d%0a" )
>
>>I think it should be
>lcText = chrtran( lcText, chr(13)+chr(10), "%0d%0a" )
>
>That's not going to work. Since you are converting one character to 3 characters it's going to take two strtran() calls.
>
>
>lcText = strtran( lcText, chr(13), "%0d" )
>lcText = strtran( lcText, cht(10), "%0a" )
>