Created
March 22, 2022 20:53
-
-
Save Deleplace/3599592697958f9433ec180f921b2ed1 to your computer and use it in GitHub Desktop.
Remove sublist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
var items = ["a", "b", "c", "d", "e"]; | |
var i = 2; | |
var j = 4; | |
items.removeRange(i, j); | |
print(items); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment