Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need string/memo editing help
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00188090
Message ID:
00188388
Views:
21
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform