Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing extra spaces in MIDDLE of str.
Message
De
25/07/2001 22:41:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535205
Message ID:
00535502
Vues:
10
>>>you should reduce spaces to just one space.
>>>
>>>Actually, I have an application written, where I dealt with lots of different name formats to transform them into our standard. It was quite complicated algorithm...
>>
>>
>>Oh, I see. But if I keep (and I do) FirstName in one field and LastName in another I will build the result string like this:
>>abc = ALLTRIM(FirstName) + ' ' + ALLTRIM(LastName)
>>
>>Mark
>
>He-he. You want to make it simpler, than it is ) Anyway, my point is, that there is a function, which could be used, and we don't need to create our own algorithm, since it already exists. I think, most of us would still create our own algorithm instead... :)

10-4
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform