From: Dumaiu Date: 2006-07-23T04:25:08+09:00 Subject: Re: Showing part of an array.... I think this example is asking for the ternary op. colors = %w( black red white yellow green ) colors[0,3].join(', ') + (colors.length > 3 ? ' ...' : '')