From: John Elrick Date: 2005-04-07T00:34:42+09:00 Subject: Interpolating a string loaded from a text file Hoping you guys can help out here. Is there any way to interpolate a string that is loaded dynamically? I know that in Ruby I can do this: my_message = 'Hello World' my_template = "The message is #my_message" puts my_template <== The message is Hello World But what I want to do is my_message = 'Hello World' my_template = File.readlines('my_template_file.txt').HOW-CAN-I-FORCE-INTERPOLATION??? puts my_template <== The message is Hello World Anyone have any ideas? Or am I missing something blatantly obvious? TIA John Elrick