Associate
- Joined
- 10 Jul 2006
- Posts
- 2,423
Hi there,
I need a good string matching algorithm, so it finds the closest match out of a list of strings.
I am currently developing in VB.NET but would probably be able to convert from c#.net or php.
Thanks.
EDIT: Basically, I am looking for a search algorithm/function
I need a good string matching algorithm, so it finds the closest match out of a list of strings.
Code:
Eg.
So If i had a list like this:
myStrings[0] = "The Next Door"
myStrings[1] = "The Next Time"
myStrings[2] = "Next Friday / Friday After Next"
myStrings[3] = "Next (r)"
myStrings[4] = "Advance to the Next Level"
and I was searching for "Next"....it would return myStrings[3].
I am currently developing in VB.NET but would probably be able to convert from c#.net or php.
Thanks.
EDIT: Basically, I am looking for a search algorithm/function
Last edited: