Jagadeesh wrote: >> 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. > Hi Jagadeesh, I know what you mean - 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.