Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AT() but whole word only
Message
 
 
À
02/07/2008 13:45:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01328188
Message ID:
01328321
Vues:
10
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform