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:13:09
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
19/07/2004 13:10:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00925773
Message ID:
00925841
Views:
20
You're pardoned. ;)

>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
Reply
Map
View

Click here to load this message in the networking platform