editDistance property

int get editDistance

Returns the Damerau–Levenshtein distance, the minimum number of single-character edits (transpositions, insertions, deletions or substitutions) required to change term into other.

The two strings are converted to lower-case and trimmed for the comparison.

Not case-sensitive.

Implementation

int get editDistance;