David A. Black wrote:

>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
>
>  
>
Excellent.  I didn't know that each returned new objects.  Thanks a 
bunch guys.

-Matt Margolis