From: Harry Kakueki Date: 2007-06-03T21:00:03+09:00 Subject: Re: Looking for an array method On 6/3/07, Robert Dober wrote: > On 6/3/07, Sun Park wrote: > > Sorry, what I meant was : > > > > a = "abc" > > => "abc" > > a (some method with arguments of 1 and "d") > > => "adc" > > > > I wanted to find out are there any methods behaving like this. > Yes #[]=, what is wrong with it? Would you prefer a method with a > different name, I am not sure there is one. > Robert > > > > > > > a = "abc" p a[1] = "d" # I think the OP wants to see "adc" here p a # not just here Harry -- A Look into Japanese Ruby List in English http://www.kakueki.com/