Arc Forumnew | comments | leaders | submit | carpal's commentslogin
1 point by carpal 6160 days ago | link | parent | on: New version

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 6160 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 6159 days ago | link

-0

-----