UtilStringGetDiffCount(String, String) Method
Computes the total amount of differences (insertions, deletions or substitutions) between two strings,
by using the Levenshtein algorithm.
Namespace: DevCase.Core.DataProcessing.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static double GetDiffCount(
string first,
string second
)
Public Shared Function GetDiffCount (
first As String,
second As String
) As Double
Dim first As String
Dim second As String
Dim returnValue As Double
returnValue = UtilString.GetDiffCount(first,
second)
public:
static double GetDiffCount(
String^ first,
String^ second
)
static member GetDiffCount :
first : string *
second : string -> float
No code example is currently available or this language may not be supported.
- first String
-
The first string to compare.
- second String
-
The second string to compare.
Double
The total amount of differences (insertions, deletions or substitutions) between the two strings.
This is a code example.
No code example is currently available or this language may not be supported.
Dim first As String = "Hello"
Dim second As String = "H3ll0"
Dim diffCount As Double = GetDiffCount(first, second)
Console.WriteLine($"{NameOf(diffCount)}: {diffCount}")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.