API Reference
Class
StringAlgorithms
Provides helper algorithms for string comparison and analysis.
Inheritance
- Object
- StringAlgorithms
Methods
ContainsHomoglyphs(System.String input) #Determines whether the input contains likely homoglyph characters.
Parameters
- input System.String
- The string to inspect.
Returns
true if homoglyphs were found; otherwise false.
LevenshteinDistance(System.String source, System.String target) #Calculates the Levenshtein distance between two strings.
Parameters
- source System.String
- The first string.
- target System.String
- The second string.
Returns
The edit distance between source and target.