Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a function that returns range of words?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00897321
Message ID:
00897734
Views:
17
>>Is Word2, above, the second word? Counting the separators (the three spaces), it would be the fourth. Depending on how you want to handle this, you may need additional adjustments. Repeatedly replacing a double space with a single space will get rid of unwanted spaces. See strtran().
>
>Thank you, Himar,
>
>I will keep that in mind.
>
>Dawa

Rather than that, why not load FoxTools.fll and use the Reduce(SearchString, [WhatToReplace]) function? If you just pass the SearchString parameter it will remove extra spaces.

Dana
Where's the damned Any Key?...too late
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform