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

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add strings

With Flutter:

 $ flutter pub add strings

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  strings: ^4.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:strings/strings.dart';
53
likes
150
points
141k
downloads

Publisher

verified publisheronepub.flutter-io.cn

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause, MIT (license)

Dependencies

characters, unicode

More

Packages that depend on strings