Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word+word
Message
De
06/04/2005 07:07:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
06/04/2005 06:59:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Divers
Thread ID:
01001807
Message ID:
01001811
Vues:
15
>hi all,
>i try to get result as if thisform.text1.value=drive , i want to add "ed" to be
>like "driveed",
>
>i try as under
>thisform.text2.value=ltrim(thisform.text1.value)+("ed")&& i get it as
>"drive       ed"
>
ltrim() removes spaces from the left, but you need to remove spaces from the right. That is why in this case you might use rtrim() (remove spaces from the right), or alltrim() (remove spaces from both left and right).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform