From: James Edward Gray II Date: 2007-08-19T00:31:12+09:00 Subject: Re: How do you print the first 5 records in an array? On Aug 18, 2007, at 4:55 AM, Bob Sanders wrote: > Let's say I have an array defined as: > > @people = ["Jim", "Jen", "Jess", "Jay", "Jack", "John", "Jeff", "Jed", > "Jill"] I see you got your answer, but I wanted to add that you can do the above with a lot less noise: @people = %w[Jim Jen Jess Jay Jack John Jeff Jed Jill] James Edward Gray II