Hi there

I am creating an application that allows the user to enter a street name and
for the application to display the relevant map.

Basically I have a list of all the street names sorted in alphabetical order
and I am using "findPosNear" to find the nearest match. Unfortunately this
doesnt seem to work perfectly when there are spaces in the street name.

For example when I type in "Llwyn Castan" I am given "Llwyn Derw Road" as
the closest match instead of "Llwyn Castan".

I guess it is due to the spaces in the words and the way findPosNear works.
Anyone got a fix for this or a better algorithm for doing a word match like
this?

Another weird thing is that on the Mac, I am getting slightly different
results

e.g when I type in "Llwyn Castan" I am given "Llwyn Drysgol"

Again, any ideas or help much appreciated.

Thanks

Paul

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to