[android-components](../../index.md) / [mozilla.components.support.utils](../index.md) / [StorageUtils](index.md) / [levenshteinDistance](./levenshtein-distance.md)

# levenshteinDistance

`fun levenshteinDistance(a: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, b: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/utils/src/main/java/mozilla/components/support/utils/StorageUtils.kt#L10)