I always get tripped when working together w arrays and strings specially on,

   string.first  and string.last

of course, they err :)

wish there were #first and #last in String

just a thought
kind regards -botp