Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a string inside of a memo field?
Message
From
14/09/1999 09:40:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00264411
Message ID:
00264416
Views:
22
Steve:

Checks for a string may include:

AT("MY STRING",MyMemoFieldName) # 0
AT_C("MT STRING",MyMemoFieldName) # 0
"MY STRING" $ MyMemoFieldName

Am I missing something here?

>I am using STRTRAN(MyMemoFieldName, 'MY STRING', 'FOUND IT')
>as follows:
>
>gcFoundIt = STRTRAN(MyMemoFieldName, 'MY STRING', 'FOUND IT')
>
>Then, I check for gcFoundIt = "FOUND IT"
>and if the string 'MY STRING' was found in the memo field, then I do some special processing.
>
>Is there a better way to find a string inside of a memo field?
>This doesn't seem to work very well.
>
>Thanks for the help. I don't know what I would do without you.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform