String.Distance (gb.util)
Static Function Distance ( String1 As String, String2 As String ) As Integer
Return the
Damerau-Levenshtein distance between two strings.
This function internally creates an array of integers whose size is the product of the lengths of the two strings.
So do not use it on very long strings. For example, strings with a length of 100,000 bytes need about 37 GB of RAM.