Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to strip out trailing blanks/CR/LFs from a stri
Message
From
19/07/2004 12:45:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
19/07/2004 11:32:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00925773
Message ID:
00925816
Views:
22
Hi Steve

The example provided and the written specification are not in sync. My code works given his example. If there is a concern about keeping chr(13) in the first 28 bytes, the example needs to change.

>Wouldn't that get rid of the CR/LFs that might be in the middle of the string?
>
>>Hi Fernando
>>
>>How about this?
>>
>>
m.cString = ALLTRIM(CHRTRAN(m.cString,CHR(13)+CHR(10),""))
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform