Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to remove the last item of a serie ?

From: g:santilli:tiscalinet:it at: 5-May-2002 20:58

Hi Jason, On Sunday, May 05, 2002, 6:15:42 PM, you wrote: JC> any ideas?
>> test: tail "abcde"
== ""
>> test/-2
== #"d" also:
>> test: head test
== "abcde"
>> pick tail test -2
== #"d" Picking a range means copying, so it's better to have that done explicitly instead of implicitly. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r