Hi -- On Thu, 1 Dec 2005, Ross Bamford wrote: > On Thu, 01 Dec 2005 11:33:36 -0000, Lionel Thiry > <lthiryidontwantspams / skynetnospam.be> wrote: > >>> @my_hash["one"].sub!(/First/,'Modify') >> >> @my_hash["one"].replace 'Modify' >> is better >> > > Definitely. Thanks. :) > > (P.s. is 'replace' one of the '!' convention exceptions, or is there another > reason it doesn't have a '!' ?) It's not an exception: the convention is that when there's a pair of methods that differ only in that one is more "dangerous" than the other, they have the same name but the dangerous one has a ! on the end. replace isn't part of a pair of that kind -- it's just its own thing. David -- David A. Black dblack / wobblini.net