From: Clemens Hintze Date: 2000-03-26T15:46:32+02:00 Subject: [ruby-talk:02172] Ruby - Show Me Hi, Dave has already shown a excellent solution. Only to show that there is more than one way to go, I would like to add my solution here. Just to be different I do not use Hashes: alphabet = %w(Alpha Bravo Charlie Delta Echo Foxtrott Golf Hotel India Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo Sierra Tango Uniform Victor Whisky X-Ray Yankee Zulu) for word in ARGV word.upcase.each_byte do |letter| puts(alphabet[letter - ?A] || letter.chr) if letter > ?A end end \cle -- Clemens Hintze mailto: c.hintze@gmx.net