Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strip out unnecessary spaces
Message
From
05/05/2004 14:56:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901298
Message ID:
00901304
Views:
22
I thought foxtools was basically a wrapper for the API. If that is so, then I should be able to do it without foxtools in VfP8. What API does reduce() in foxtools run?

>>Ok, don't know where my mind is today because I have become stumped on what should be a simple function. I have the following value:
>>
>>
>>mvalue = "John A. Doe             555 MyStreet   "
>>
>>and I want mvalue to equal:
>>
>>mvalue="John A. Doe 555 Mystreet"
>>
>>Yet I cannot seem to do it without removing all of the spaces...
>
>Using Foxtools is easy, but I do not know if you want or are able to use it
>
>
>set library to foxtools
>
>mvalue = reduce(mvalue)
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform