Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Misleading message
Message
From
21/07/2002 16:51:26
 
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
00680604
Message ID:
00680929
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform