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
Logical Substring search result
-
- User
- Posts: 19
- Joined: Sat May 10, 2014 2:58 am
- Location: San Rafael, CA USA
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Logical Substring search result
Take a look at FindString() ?
http://www.purebasic.com/documentation/ ... tring.html
http://www.purebasic.com/documentation/ ... tring.html
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- User
- Posts: 19
- Joined: Sat May 10, 2014 2:58 am
- Location: San Rafael, CA USA
Re: Logical Substring search result
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
John