apoc.text.levenshteinDistance
Function APOC Core
apoc.text.levenshteinDistance(text1, text2) - compare the given strings with the Levenshtein distance algorithm.
Usage Examples
RETURN apoc.text.levenshteinDistance("Neo4j", "Neo4j") AS output;| output | 
|---|
| 0 | 
RETURN apoc.text.levenshteinDistance("Neo4j", "Neoj4") AS output;| output | 
|---|
| 2 | 
RETURN apoc.text.levenshteinDistance("Neo4j Aura", "Neo4j Graph Database") AS output;| output | 
|---|
| 13 |