Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AT() but whole word only
Message
From
06/07/2008 12:32:08
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01328188
Message ID:
01329252
Views:
15
>>>It will find it, look closer at this solution.
>>
>>No, it won't
>>(1) it pads with spaces
>>(2) it does not use upper() nor lower()
>
>I agree with upper/lower/proper, but what's wrong with the spaces except for CHR(13)/10 ?

it will not find king in
king.
>>>? ' '+'king'+' ' $ ' '+'king and I'+' '
>>>? ' '+'king'+' ' $ ' '+'you are the king'+' '
>>>? ' '+'king'+' ' $ ' '+'kingsolomon and I'+' '
>>>
>>thit won't find king. or King at the beginning of a line
>>regex works perfectly.
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform