From: Suraj Kurapati Date: 2007-02-09T02:36:42+09:00 Subject: Re: Patterns of semantic contradictions? Robert Dober wrote: > "abcdefghijklmnop".gsub(/a/,"A") gsub seems out of place here; it feels like using a flat-headed screwdriver to turn a star-headed screw. Instead, I would use tr: "abcdefghijklmnop".tr 'a', 'A' > "abcda".gsub(/a/,"A") Same here. -- Posted via http://www.ruby-forum.com/.