string_extensions 0.1.2
string_extensions: ^0.1.2 copied to clipboard
Useful String extensions to save you time in production. Feel free to contribute with PR.
0.1.2 New extensions & Code refactor #
-
Adds isEmpty checks on all extensions.
-
Given a string and a pattern, finds the starting indices of all occurrences of the pattern in the string.
findPattern({required String pattern})
0.1.1 New extensions #
Useful method to normalize greek text for more performant text searches.
replaceGreek()
0.1.0 New extensions #
first({int count})
last({int count})
toSlug()