String replacement with operations that are Unicode/grapheme cluster aware.
- Core APIs deemed stable; package version set to 1.0.0.
- 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.
Added an extension method on
Stringto allow easy access to the
Charactersof the string:
print('The first character is: ' + myString.characters.first)
Updated Dart SDK dependency to Dart 2.6.0
- Added small example in
- Enabled pedantic lints and updated code to resolve issues.
- Updated API which does not expose the underlying string indices.
- Initial release