Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing embedded spaces
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00561036
Message ID:
00561047
Views:
36
>Hello All,
>easy peasy one for you experts, I need a function to remove extraneous embedded spaces from a given string of multiple words, and wondered if any of you have experience in this area, an example of I show below
>
>
>cStringIn = 'Peter the embedded      space    man'
>
>
>cStringOut = 'Peter the embedded space man'
>
>
>
>
>
>many thanks
>
>Pete Kane

Pete,
SET LIBRARY TO FOXTOOLS
? Reduce(cStringIn)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform