Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting CRLF
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01190708
Message ID:
01190731
Views:
15
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...
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform