in reply to Re: Trying to slice off all array elements but the last one
in thread Trying to slice off all array elements but the last one

That gets elements -2, -1, and 0. i.e. the second to last, last, and first elements, then reverses them, giving you the first, last, then second to last elements
  • Comment on Re: Re: Trying to slice off all array elements but the last one