From: Robert Klemme Date: 2010-03-25T21:20:09+09:00 Subject: Re: Arrays 2010/3/25 Brandon Jones : > And the short form > >> a = ["123", "456", "raju"] >> a.map!{|x|"91#{x}"} # => ["91123", "91456", "91raju"] Even shorter (6 chars if I'm not mistaken): a = %w{123 456 raju} a.map!{|x|"91#{x}"} ;-) Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/