Levenshtein Distance
From UBot Studio
(Difference between revisions)
(Created page with " This function is an Advanced Text function in the UBot Extended Library. This function calculates levenshtein distance between two strings. '''First String:''' The first...") |
|||
Line 3: | Line 3: | ||
'''First String:''' The first string in the comparison. | '''First String:''' The first string in the comparison. | ||
+ | |||
'''Second String:''' The second string in the comparison. | '''Second String:''' The second string in the comparison. | ||
Revision as of 16:16, 14 June 2015
This function is an Advanced Text function in the UBot Extended Library. This function calculates levenshtein distance between two strings.
First String: The first string in the comparison.
Second String: The second string in the comparison.
Example
alert($levenshtein distance(300,900))
Running the alert command will produce the levenshtein distance between the numbers 300 and 900, which is 1.