0

I am trying to count number of a changes on one field ( one string ) with javascript. For example on name= MARTIN : MARTI => 1 change MARTINE => 1 change MATRIN => 2 changes MARBOM => 3 changes

4

1 回答 1

6

这称为 levenshtein 距离,使用它:http ://www.dzone.com/snippets/javascript-implementation

于 2013-05-29T07:17:01.290 回答