Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variations of using -'-'- (joining text fields)
Message
De
29/12/2000 12:34:19
 
 
À
29/12/2000 12:31:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00457664
Message ID:
00457854
Vues:
24
>>
>>That's because "-" trims trailing spaces. Try
>
>Is this correct? I thought "-" moved the spaces to the end rather than trimming them.
>
>
>
>>
>>lastName - ", " + firstName (or RTRIM(firstName))
>>
>
>If LastName has trailing blanks I got
>LLLLLL, FFFFFF

I'm virtually ignorant of HTML and didn't realize the extra blanks would get trimmed out of my reply. It should have been

LLLLLL,BBBBBBFFFFFF

where "B" represents a blank

>
>
>>or, to be more elaborate,
>>
>>ALLTRIM(lastName) + ", " + ALLTRIM(firstName)
>
>This looks like the best bet
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform