From: Wayne Vucenic Date: 2004-11-05T10:12:03+09:00 Subject: Re: Cleaner way to do this? How about [1, 2, 3, 4, 5].each_with_index do |x, i| if i == 0 print x else print ", ",x end end Wayne ----- No Bugs Software "Ruby and C++ Contract Programming in Silicon Valley"