StringExtension extension

String extension

on

Properties

diacriticsInsensitive String
Removes accents and diacritics from the given String.
no setter
isOnlyEmoji bool
Returns whether the string contains only emoji's or not.
no setter

Methods

biggestLine() String
Returns the biggest line of a text.
capitalize() String
Returns the capitalized string
getResizedImageUrl({double width = 400, double height = 400, String resize = 'clip', String crop = 'center'}) String
Returns a resized imageUrl with the given width, height, resize and crop if it is from Stream CDN or Dashboard.
levenshteinDistance(String t) int
Levenshtein distance between this and t.