From: Robert Klemme Date: 2010-02-19T16:05:06+09:00 Subject: Re: strings combine On 02/18/2010 11:32 PM, Roger Pack wrote: >>> Shouldn't the following be a syntax error? >>> >>>>> ' 3' '4' >>> => " 34" >> >> Rarely seen, but string literal "implicit" concatenation has always been >> a feature. > > Yeah--for me it has almost always represented a bug (like a missing , > between parameters or what not). > Ahh well. I can't remember having used it but it can be useful if you want to create a longer string and do not want to use a here document (because of indentation issues for example). Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/