Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing spaces from text
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01505924
Message ID:
01505936
Views:
76
This message has been marked as the solution to the initial question of the thread.
>>>Has anyone removed extra spaces from a sentence stored in a variable? How is it done?
>>
>>What is your definition of extra spaces? Example please
>
>If you want to remove 2 (or more) consecutive spaces in the text:
>
>DO WHILE "  " $ YourText
>   YourText = STRTRAN(YourText,"  "," ")
>ENDDO
>
Boris,

Check Jeff Moden's solution in this thread http://tek-tips.com/viewthread.cfm?qid=1572324

:)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform