Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to strip out trailing blanks/CR/LFs from a stri
Message
De
19/07/2004 13:13:09
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
19/07/2004 13:10:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00925773
Message ID:
00925841
Vues:
19
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),""))
>>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform