Skip to content

Commit

Permalink
Fixed #105
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyryan committed Nov 14, 2022
1 parent c90c5e3 commit bd2de50
Show file tree
Hide file tree
Showing 6 changed files with 3,400 additions and 509 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [2.9.6]
- Fixed https://github.com/caseyryan/flutter_multi_formatter/issues/105
## [2.9.5]
- Added hsk levels to HanziUtils
## [2.9.4]
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.9.4"
version: "2.9.6"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
4 changes: 4 additions & 0 deletions lib/formatters/formatter_extension_methods.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ extension StringInputFormatting on String {
return fu.isCryptoCurrency(this);
}

String reverse() {
return split('').reversed.join();
}

String removeLast() {
if (isEmpty) return this;
return substring(0, length - 1);
Expand Down
Loading

0 comments on commit bd2de50

Please sign in to comment.