Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need string/memo editing help
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00188090
Message ID:
00188388
Vues:
16
>>How can I know if the memo field has "abc" in it (may not be on first line). I do not know the code syntax to ask if one string contains another.
>>
>Brenda,
>
>Look at the $ operator. It will return a logical value based on whether or not one string contains another (ie: lcstring1 $ lcstring2). If lcstring1 is contained in lcstring2 the result will be .T.

You might also look at AT(), RAT(), SUBSTR(), and all the See Also topics for any of these (or the other people's) suggestions.

HTH,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform