Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Misleading message
Message
De
21/07/2002 16:51:26
 
 
Information générale
Forum:
Level Extreme
Catégorie:
Autre
Divers
Thread ID:
00680604
Message ID:
00680929
Vues:
25
>If you're looking for a one-liner, here's one.
lcStr = "This    is a    string                with  spaces"
>? EVALUATE(REPLICATE([STRTRAN(], CEILING(LEN(lcStr) / 2)) + [lcStr] + ;
>			REPLICATE([, SPACE(2), SPACE(1))], CEILING(LEN(lcStr) / 2)))
Thanks, this is working perfectly.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform