Natas70 Posted December 30, 2008 Share Posted December 30, 2008 i want to use and input box to search through a list of lets say 10000 names, but i want it to not only return the correct full name, but if i enter a partial name, it returns all instances of that also. for instance array holding names = james johnson, frank johnston, john turner and if i just type john in the input box, i would like it to return all 3 is there a simple way, i looked through help, but really dont think stringcompare will do it. thanx for any information you might be able to offer James Link to comment Share on other sites More sharing options...
igotandrew Posted December 30, 2008 Share Posted December 30, 2008 i want to use and input box to search through a list of lets say 10000 names, but i want it to not only return the correct full name, but if i enter a partial name, it returns all instances of that also.for instance array holding names = james johnson, frank johnston, john turnerand if i just type john in the input box, i would like it to return all 3is there a simple way, i looked through help, but really dont think stringcompare will do it.thanx for any information you might be able to offerJamesI believe you're going to use StringInStrIf it detects the find string, the value it returns should be > 0 Link to comment Share on other sites More sharing options...
Natas70 Posted December 30, 2008 Author Share Posted December 30, 2008 I believe you're going to use StringInStrIf it detects the find string, the value it returns should be > 0 u da manthat worked great,thankyou very muchJames Link to comment Share on other sites More sharing options...
igotandrew Posted December 30, 2008 Share Posted December 30, 2008 u da manthat worked great,thankyou very muchJamesJust doing what I cangood luck with the rest of your script Link to comment Share on other sites More sharing options...
Natas70 Posted December 30, 2008 Author Share Posted December 30, 2008 ok another question on the same aspect, how about if you are ocr'ing a jpg and you get a non accurate string is there a way to compare and choose the best option at about 90% letter accuracy for instance: jpeg has the word james johnson in it ocr returns a string janes john5on or jpeg american airlines ocr amer can airlines any ideas on how to make these = out I am using the microsoft office 2003 ocr version found some where in the examples, but it is not totally accurate, and have also found an example script that increases the size of the jpeg image, and i have played with the ratio from 1.5 to 2 up to 5 times the size of the original jpeg, and it does not get close to accurate 100% of the time. once again thanx in advance for any information you(group) can share James Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now