From: "David A. Black" Date: 2004-09-28T06:54:10+09:00 Subject: Re: keep changes in string outside of scope? Hi -- On Tue, 28 Sep 2004, David A. Black wrote: > thestring.sub!(/\d{5}/) {|x| "#{x},"} Amendment: as James G. suggested, use gsub! if you have more than one in one string :-) Also make sure that you have no street numbers with five digits in a row. David -- David A. Black dblack@wobblini.net