Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Similar to ALLTRIM()?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00957249
Message ID:
00957256
Vues:
40
The minus is a concatenation operator for 2 strings, but, it is different of the plus operator because it removes all trailing blank spaces from the first operand and put them back at the end of the result, thus the lenght of the result is the same as the sum of the to operands, I better leave english explanations and put code examples :)
cText1 = 'Text1' + space(5)
cText2 = 'Text2'

cText1 + cText2 -> 'Text1     Text2' 
cText1 + cText2 -> 'Text1Text2     '
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform