Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
carpal
6119 days ago |
link
|
parent
How else would you specify "the end of the string"? -1 seems natural for me. Anything else (0?) makes it kind of foggy.
5 points
by
nex3
6119 days ago |
link
"End of string" is specified by not passing a fourth parameter:
> (cut "abcde" 1) "bcde"
See
http://arclanguage.org/item?id=2267
.
-----
2 points
by
maxwell
6118 days ago |
link
-0
-----