On 0113, Robert Klemme wrote: > > Whups, never mind, that doesn't work. :) > > But this does: > > irb(main):001:0> a=[1,2,3,4] > => [1, 2, 3, 4] > irb(main):002:0> a[1,a.length] > => [2, 3, 4] > > The second parameter is the length. Simply using a.length is sufficient > since then all elements to the end are used. I _would like to_ write a[2,Infinity], or something like that... Gergo -- +-[ Kontra, Gergely<kgergely / mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+