LEVENSHTEIN
Categories: String
LEVENSHTEIN
Computes the Levenshtein distance between two input expressions.
Syntax
LEVENSHTEIN(expression1 varchar, expression2 varchar) → int
- expression1: The first string expression.
- expression2: The second string expression.
Examples
{{< codeheader "LEVENSHTEIN example" >}}
SELECT LEVENSHTEIN('dremio', 'iceberg')
-- 6