From: Sebastian Hungerecker Date: 2008-10-02T05:56:43+09:00 Subject: Re: simple gsub method Jack Smith wrote: > x.gsub(/#{a}/, b) You don't use the return value of gsub, so it is thrown away and this line basically does nothing. Calling gsub on x, does not change x (gsub! would). HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826