strings 3.2.0 copy "strings: ^3.2.0" to clipboard
strings: ^3.2.0 copied to clipboard

Large collection of String functions aimed at extending the String class whilst providing safer methods for working with nullable Strings.

example/example.md

Examples #

See the Strings manual for a full list of examples.

strings.onepub.dev

// Passing a null to any function is safe
Strings.right(null, 4, pad: Pad.left);
 -> '    '

// pass a short string and we can pad it (or not).
Strings.right('one', 4, pad: Pad.left);
 -> ' one'

copied to clipboard
51
likes
160
points
81.3k
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

2024.09.26 - 2025.04.10

Large collection of String functions aimed at extending the String class whilst providing safer methods for working with nullable Strings.

Repository (GitHub)

Documentation

Documentation
API reference

License

BSD-3-Clause, MIT (license)

Dependencies

characters, unicode

More

Packages that depend on strings