Tamreen Khan wrote:

> It's a bit more code, but also more flexible, filling up everything up 
> to
> and not including 5.

I should have specified the follow:

1. I'm golfing, so short length would be preferred.
2. I will not know the length of the array beforehand.

Thanks again :)

-Drew


-- 
Posted via http://www.ruby-forum.com/.