Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove SPACES in between
Message
De
21/07/1997 18:48:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00040913
Message ID:
00041017
Vues:
31
b = CHRTRAN(a, " ", "")

CHRTRAN is MUCH faster than STRTRAN (as it should be since it's looking for characters not strings). SPACE(1) is slower than " ", and SPACE(0) also (and useless also!).

Vlad

>How could I remove spaces in between a string.
>Eg. a="ABC DEF GHI JKL"
>I would like the result to be "ABCDEFGHIJKL", removing all spaces in
>between.
>Pls advice, thank you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform