Database & utility
Scalar
damerau_levenshtein()
Extension of Levenshtein distance to also include transposition of adjacent characters as an allowed edit operation. In other words, the minimum number of edit operations (insertions, deletions, substitutions or transpositions) required to change one string to another. Characters of different cases (e.g., a and A) are considered different.
Arguments & returns
damerau_levenshtein(s1, s2)
Scalar
| Overload link | s1 | s2 |
Returns |
|---|---|---|---|
| #01 | VARCHAR | VARCHAR |
BIGINT |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.