Hi, How does one sort an array of strings by best match to a search string?
Search string could be: "testing perl" Some elements (already sorted) could be: 1. testing perl functionality 2. test perl features 3. perl is useful I guess I'm looking for something that you can use to compare a strings that will return a point value based on the closeness of the match. I had a look at String::Approx adist and adistr functions, but they dont seem to support fuzzy matching that well i.e. comparing the search string 'java oracle' with 'java and oracle' and then again with 'java and oracle test' returns the same value with adistr. thanks for any help, Mark. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]