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 12:45:11
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
19/07/2004 11:32:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00925773
Message ID:
00925816
Vues:
21
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform