From: Jagadeesh Date: 2009-05-28T00:45:10+09:00 Subject: Re: String concatenation in Ruby On May 26, 10:28 pm, Mohit Sindhwani wrote: > Jagadeeshwrote: > >> There is a join method on the Array class that returns a String class.   > >> In object-oriented terms, that makes perfect sense.  Now, given your > >> specific needs, there are other ways to do that as others have > >> suggested.  I don't think an extra API on the Kernel class makes sense > >> for stitching Strings together. > > > Hey Mohit, My intention was looking for better way of writing it. I > > was not expecting *kernel* to have such an API. > > HiJagadeesh, > > I know what you mean - Take it easy. :( I was just aticulating why "join" wouldn't exist > as something similar to the way perl has.  That said, I guess sprintf > comes quite close! > > Cheers, > Mohit. > 5/27/2009 | 1:28 AM.