From: Daniel Finnie Date: 2006-12-18T01:57:43+09:00 Subject: Re: Why the resutls are different Also, before you get into the habit of doing that (see the quote), it's kind of considered bad form and Ruby automatically concatenating strings like that might not happen in future versions. You can eliminate the double quotations so it is: puts "This is the name #{name}" Or use direct concatenation with the two strings: puts "This is the name" + " #{name}" But that would be silly when you can just move the space over and not have the whole #{} thing: puts "This is the name " + #{name} Most people, I think, would use the first version. Dan Timothy Hunter wrote: > Li Chen wrote: >> puts "This is the name"" #{name}"