From: Robert Dober Date: 2007-06-03T20:04:48+09:00 Subject: Re: Looking for an array method On 6/3/07, Sun Park wrote: > Thanks :) do we have such method in String class, too? irb(main):008:0> a='abc' => "abc" irb(main):009:0> a[1]=?a => 97 irb(main):013:0> a[1..1]="a" => "a" thus String#[]= is behaving differently from Array#[]= Cheers Robert You see things; and you say Why? But I dream things that never were; and I say Why not? -- George Bernard Shaw