It is kind of strange.

If you look at the examples section there is a "special cases" list and
your example appears there.

I don't know the reasons for this.

On Thu, Nov 13, 2014 at 5:32 PM, leam hall <leamhall / gmail.com> wrote:

>
> On Thu, Nov 13, 2014 at 12:18 PM, George Drummond <drummond / rentify.com>
> wrote:
>
>> Specifically the last line of documentation for this method: "Returns nil if
>> the index (or starting index) are out of range."
>>
>
> The nil part makes sense. What I don't get is why the first out of range,
> "4", didn't also get nil.  The indices should be 0..3, right?
>
> --
> Mind on a Mission <http://leamhall.blogspot.com/>
>



-- 
George Drummond
Software Engineer

+44 (0)333 240 2222


[image: Rentify]
 6-8 Long Lane, London EC1A 9HF
 www.rentify.com