From: Brian Candler Date: 2011-01-02T05:12:08+09:00 Subject: Re: trans string into array Pen Ttt wrote in post #971595: > a=[1,2,3] > => [1, 2, 3] > irb(main):008:0> b=[4,5,6] > => [4, 5, 6] > irb(main):009:0> a[1]+b > TypeError: Array can't be coerced into Fixnum But you can concatenate two arrays, is this what you want? [a[1]] + b -- Posted via http://www.ruby-forum.com/.