Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing multiple blanks
Message
From
11/06/2007 19:50:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Removing multiple blanks
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01232128
Message ID:
01232128
Views:
55
I know there has to be a better way of doing this than
FUNCTION rem_mult_blanks(tcString)
DO WHILE "  " $ tcString
  tcString = STRTRAN(tcString,"  "," ")
ENDDO

RETURN tcString
but I can't seem to remember what it is.

Thanks to all.
Next
Reply
Map
View

Click here to load this message in the networking platform