Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AT() but whole word only
Message
 
 
To
02/07/2008 13:45:29
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01328188
Message ID:
01328321
Views:
9
>>Fabio,
>>Wouldn't that require all combinations of characters that could be used at word boundaries? I think using regex is better.
>>Cetin
>
>Hi Cetin,
>
>To use regex is more complex and slow that to use native VFP functions,
>BUT !
>if the task is complex and require a complex VFP program,
>then REGEX can become more simple and fast ...
>
>I have one rule only:
>more complex -> more instable ...
>
>Fabio

Fabio,

I was going to suggest your solution too, but I'm now thinking you may have problems with chr(10), chr(13) and also probably dots. What if " king." is a word too?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform