characters
String replacement with operations that are Unicode/grapheme cluster aware.
1.4.1
1000K downloads/mo
#61 most downloaded on pub.dev
dart-lang/core
What this package is like to depend on
Last release 1 years ago
25 Jun 2025
Release timing varies
gaps range from 8 days to 1.7 years
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
18 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Oct 2019 to Jun 2025Releases
latest 18-
1.4.125 Jun 2025Release notes
Open source →- Run
dart formatwith the new style. - Performance improvement for non-BMP characters.
Release notes
Open source →- Run
dart formatwith the new style. - Performance improvement for non-BMP characters.
- Run
-
1.4.011 Dec 2024 -
1.3.116 Oct 2024Release notes
Open source →- Fixed README rendering on pub.dev and API docs.
- Require Dart
^3.4.0. - Move to
dart-lang/coremonorepo.
-
1.3.017 Feb 2023 -
1.2.104 May 2022 -
1.2.013 Sep 2021Release notes
Open source →- Fix
Characters.wherewhich unnecessarily did the iteration and test twice. - Adds
Characters.emptyconstant and makesCharacters("")return it. - Changes the argument type of
Characters.containsto (covariant)String. The implementation still acceptsObject?, so it can be cast toIterable<Object?>, but you get warned if you try to call directly with a non-String.
- Fix
-
1.1.002 Feb 2021Release notes
Open source →- Stable release for null safety.
- Added
stringBeforeLengthandstringAfterLengthtoCharacterRange. - Added
CharacterRange.atconstructor. - Added
getRange(start, end)andcharacterAt(pos)toCharactersas alternative to.take(end).skip(start)andgetRange(pos, pos + 1). - Change some positional parameter names from
othertocharacters.
-
1.1.0-nullsafety.503 Nov 2020 pre-releaseNothing published for this version
-
1.1.0-nullsafety.422 Oct 2020 pre-releaseNothing published for this version
-
1.1.0-nullsafety.322 Sep 2020 pre-releaseNothing published for this version
-
1.1.0-nullsafety.222 Jul 2020 pre-releaseNothing published for this version
-
1.1.0-nullsafety.117 Jul 2020 pre-releaseNothing published for this version
-
1.1.0-nullsafety08 Jul 2020 pre-releaseNothing published for this version
-
1.0.009 Jun 2020Release notes
Open source →- Core APIs deemed stable; package version set to 1.0.0.
- Added
splitmethods onCharactersandCharacterRange.
-
0.5.005 Dec 2019Release notes
Open source →- Change [codeUnits] getter to [utf16CodeUnits] which returns an iterable. This avoids leaking that the underlying string has efficient UTF-16 code unit access in the API, and allows the same interface to be just as efficiently implemented on top of UTF-8.
-
0.4.013 Nov 2019Release notes
Open source →-
Added an extension method on
Stringto allow easy access to theCharactersof the string:print('The first character is: ' + myString.characters.first) -
Updated Dart SDK dependency to Dart 2.6.0
-
-
0.3.125 Oct 2019Release notes
Open source →- Added small example in
example/main.dart - Enabled pedantic lints and updated code to resolve issues.
- Added small example in
-
0.3.022 Oct 2019