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

Provides a set of String related aimed at extending the core String class and provide safer methods for working with nullable strings and strings in general.

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'

48
likes
160
points
75k
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

Provides a set of String related aimed at extending the core String class and provide safer methods for working with nullable strings and strings in general.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause, MIT (license)

Dependencies

characters, unicode

More

Packages that depend on strings