Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AT() but whole word only
Message
De
02/07/2008 13:23:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/07/2008 13:13:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01328188
Message ID:
01328308
Vues:
12
>>is there a way to look for a word in a memo field text but only find whole words.
>>eg: looking for KING should finf Martin Luther King but not lurking
>>even if KING is at the beginning of a line or sentence or at the end therof.
>>
>>maybe REGEX could work, but how
>>
>>
>>Peter
>
>
>? ' '+'king'+' ' $ ' '+'king and I'+' '
>? ' '+'king'+' ' $ ' '+'you are the king'+' '
>? ' '+'king'+' ' $ ' '+'kingsolomon and I'+' '
>
Fabio,
Wouldn't that require all combinations of characters that could be used at word boundaries? I think using regex is better.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform