IterableString extension

on

Methods

containsLike(String s) bool

Available on Iterable<String>, provided by the IterableString extension

Verify if any String in a StringList contains the specified String
distinctFlat() Iterable<string>

Available on Iterable<String>, provided by the IterableString extension

Removes duplicate elements from a StringList.
flatContains(string s) bool

Available on Iterable<String>, provided by the IterableString extension

flatContainsAll(Iterable<string> s) bool

Available on Iterable<String>, provided by the IterableString extension

flatContainsAny(Iterable<string> s) bool

Available on Iterable<String>, provided by the IterableString extension

Verify if any String in a StringList contains any String of other StringList ignoring the accents and character case
flatContainsAtLeast(int count, Iterable<string> s) bool

Available on Iterable<String>, provided by the IterableString extension

flatContainsLike(String s) bool

Available on Iterable<String>, provided by the IterableString extension

Verify if any String in a StringList contains the specified String ignoring the accents and character case
getLevenshtein(String b, [bool caseSensitive = true]) List<int>

Available on Iterable<String>, provided by the IterableString extension

Returns a list of Levenshtein distances between each element in the list and the given string b. The optional parameter caseSensitive determines whether the comparison should be case-sensitive or not. If caseSensitive is not provided, it defaults to true.