Logical Substring search result

Just starting out? Need help? Post your questions and find answers here.
John R. Sowden
User
User
Posts: 19
Joined: Sat May 10, 2014 2:58 am
Location: San Rafael, CA USA

Logical Substring search result

Post by John R. Sowden »

I guess I have been too spoiled by Foxpro 2.6/DOS.

I have not found a logical operator (true/false) regarding a substring search. I use this all the time. If a user is looking for for a name, but does not know how to spell it, I tell them just key in the part of the name that you know how to spell. Then they are shown all of the names that have that string of characters in it. Then they can choose the correct one.

display all for 'mari' $ name$

Hope I'm missing something in the documentation.

John
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Logical Substring search result

Post by IdeasVacuum »

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
John R. Sowden
User
User
Posts: 19
Joined: Sat May 10, 2014 2:58 am
Location: San Rafael, CA USA

Re: Logical Substring search result

Post by John R. Sowden »

Thank you. I passed on that while searching because it asked for the location where the searching string would appear in the searched string, and I felt that was too much to ask of a user. Thanks to your direction (the mountain can be climbed), I notices the word optional! It also appears that findstring does more that just a logical substring search.

John
Post Reply