Click or drag to resize

MathUtilEditDistance Method (String, String)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the Levenshtein edit distance between two strings.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.98.0.0
Syntax
public static int EditDistance(
	string stringA,
	string stringB
)

Parameters

stringA
Type: SystemString
The first string to compare.
stringB
Type: SystemString
The second string to compare.

Return Value

Type: Int32
The Levenshtein edit distance, or -1 if either of the input strings is empty.
See Also