From: Robert Klemme Date: 2013-01-21T05:57:44+09:00 Subject: Re: question about string concatenation On Sun, Jan 20, 2013 at 9:44 PM, David Richards wrote: > Dave Aronson wrote in post #1092970: > >> My SWAG would be that autoconcatenation takes place at the parser level. > > That makes sense. I'll accept that on 'faith' until I gain a deeper > understanding of Ruby. Probably the best thing to achieve what you wanted initially is this: s = "[#{9}]" Where "9" can be any expression really. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/