From: tho_mica_l Date: 2008-01-03T16:19:57+09:00 Subject: Re: change the symbol in an interpolated string value? > whoever = "World"; > message = "Hello #{whoever}"; #1 You could use evil eval: whoever = "World" eval '"Hello #{whoever}"' Because of the single quotes the string doesn't get expanded. #2 Use erb (http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/)