string_extensions 0.2.0 copy "string_extensions: ^0.2.0" to clipboard
string_extensions: ^0.2.0 copied to clipboard

outdated

Useful String extensions to save you time in production. Feel free to contribute with PR.

0.2.0 Adds tests #

0.1.4 New extension #

Method to check whether a string is a valid Guid.

isGuid()

0.1.3 New extensions #

Method to get a list of characters in a string.

toStringArray()

Method to strip all HTML code from a string.

stripHtml()

Method to check whether a string is a strong password.

isStrongPassword()

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()

0.0.3 New extensions and Null Safety #

News #

Migrates library to null safety.

Extension added :

toTitleCase()

0.0.2 New extensions and bug fixes #

Bug fixes #

  • Methods now correctly remove trailing and leading whitespaces from strings.

New extensions #

toCamelCase()
onlyNumbers()
removeLetters()
charOccurences()
mostFrequent()
reverse()
isIpv4()

0.0.1 Initial release #

Extension methods #

readTime()
isMail()
capitalize()
removeNumbers()
onlyLetters()
countWords()
30
likes
0
points
2.42k
downloads

Publisher

verified publisheresentis.dev

Weekly Downloads

Useful String extensions to save you time in production. Feel free to contribute with PR.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, test

More

Packages that depend on string_extensions