Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt
hiddentrue

levDistance(string1, string2) Returns the Levenshtein distance between two strings.

Function: levDistance()

Returns the Levenshtein distance between two strings. This is the number of character edits (inserts, deletions or substitutions) that would need to be made to change one string into the other. This function is useful in fuzzy string matching.

...