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 13:10:52
 
 
To
19/07/2004 12:45:11
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00925773
Message ID:
00925839
Views:
21
Hi Mike,

You are right. Pardom me for posting an ambiguous example.

Regards,

Fernando

>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