Instance Methodfwcd.swift-utils 4.6.2Utils->Swift
levenshteinDistance(to:caseSensitive:)
The Levenshtein string distance, i.e. the minimal number of insertions, deletions and substitutions to transform this string to the given string.
func levenshteinDistance<S>(to rhs: S, caseSensitive: Bool = true) -> Int where S : StringProtocol