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:46:04
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00925773
Message ID:
00925817
Vues:
21
Yes, but given his example it works. If his stated requirements are wrong, attempting to just remove chr(13) etc from the end may also be wrong.

>It'll remove CHR(13) and CHR(10) from everywhere in the string not just at the end.
>
>>
>>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