EditDistance

WMA link


EditDistance[a, b]

returns the Levenshtein distance of a and b, which is defined as the minimum number of
insertions, deletions and substitutions on the constituents of a and b needed to transform
one into the other.

The IgnoreCase option makes EditDistance ignore the case of letters:

EditDistance also works on lists:

DamerauLevenshteinDistance
HammingDistance