From: Damjan Rems Date: 2010-10-12T22:02:59+09:00 Subject: How to do this I don't know how to explain so I will just code: template = 'some text #{variable}' # single quotes for reason variable = 'filled' res = some_method(template) Here, res should have value 'some text filled'. Is there an easy way doing this in ruby. Hard way is of course parsing and inserting text with my own method. by TheR -- Posted via http://www.ruby-forum.com/.