From: Leo Date: 2009-04-10T20:46:04+09:00 Subject: Re: Join strings > result = 'aabbcc' local_variables.select {|v| v != '_'}.map {|v| eval(v)}.join => "aabbdd" Unfortunately, I don't know where you got the "cc" from in your example.