--0016e646916a52edbb047330efd6 Content-Type: text/plain; charset=ISO-8859-1 irb(main):001:0> "hello my name is bigmac".split ["hello", "my", "name", "is", "bigmac"] HTH, -Mario. -- I want to change the world but they won't give me the source code. On Thu, Sep 10, 2009 at 05:34, Bigmac Turdsplash <i8igmac / aim.com> wrote: > this is making me mad, i cant figure out how to brake a string down into > individual strings > > string hello my name is bigmac" > > string.each[1,2,3,4,5,6] > > puts string[1] #'hello' > puts string[2] #'my' > puts string[3] #'name' > puts string[4] #'is' > puts string[5] #'bigmac' > puts string[6] #nil > -- > Posted via http://www.ruby-forum.com/. > > --0016e646916a52edbb047330efd6--