-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add string slice extension #57
Comments
Yes I agree. Could you maybe create a PR? |
mjstel
added a commit
to mjstel/dartx
that referenced
this issue
Nov 30, 2020
mjstel
added a commit
to mjstel/dartx
that referenced
this issue
Nov 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
String slice extension can be very useful. For example:
Instead of:
'awesomeString'.chars.slice(3, -4).joinToString(separator: '')
we could do:
'awesomeString'.slice(3, -4)
Thank you!
The text was updated successfully, but these errors were encountered: