textDifference
-
function
-
Calculates and returns the Levenshtein Distance between two text strings. The text difference represents the number of single-character changes (character additions, deletions, or substitutions) required to transform one string into another.
-
Examples: +
put textDifference("fate", "bat") —> 2