Frederick,
Though this only takes care of the CRLFs at the beginning and end of a string, don't forget about ALLTRIM's upgraded capabilities. It can remove characters of your choice now.
mystr = chr(13) + chr(13) + chr(9) + "Hello World" + chr(13) + chr(10)
? MyStr
? MyStr
? alltrim(MyStr, 0, chr(13), chr(9), chr(10))
Michel - I CC:ed you on this, but there is no definitive indcator of this fact. Would it be possible to add some sort of indicator so that you'd know when the message you're getting is a CC. Sometimes you can tell, sometimes you can't.
>I have a bunch of CRLFs in my memo fields. I know I can use the strtrans() function to replace them with blanks. Can someone tell me what the actual function might look like?
>
>Thanks in Advance...