Closed well-in-that-case closed 1 month ago
table.slice mimics the semantics of string.sub. (so it supports negative indices and whatnot)
table.slice
string.sub
Closes #955 Closes #553
I do understand the reason for calling it sub, but I think it's generally more understandable to say "slice" when it comes to arrays, whereas in strings "substring" is more commonplace.
sub
Otherwise LGTM
table.slice
mimics the semantics ofstring.sub
. (so it supports negative indices and whatnot)Closes #955 Closes #553