>>>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