Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing spaces from text
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01505924
Message ID:
01505928
Vues:
67
>>Has anyone removed extra spaces from a sentence stored in a variable? How is it done?
>
>What is your definition of extra spaces? Example please

If you want to remove 2 (or more) consecutive spaces in the text:
DO WHILE "  " $ YourText
   YourText = STRTRAN(YourText,"  "," ")
ENDDO
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform