David A. Black wrote:
> irb(main):036:0> str = "xxx"
> => "xxx"
> irb(main):037:0> str[str.size/2] = str[str.size/2].chr * 4
> => "xxxx"
> irb(main):038:0> str
> => "xxxxxx"
>
> I was hoping for a *= operation but it doesn't quite fit :-)

str[str.size/2,1] *= 4


-- 
Jabber: sepp2k / jabber.org
ICQ: 205544826