From: "Peña, Botp" Date: 2008-06-16T17:08:27+09:00 Subject: Re: how to stop gsub from returning nil From: Tom Cloyd [mailto:tomcloyd@comcast.net] # x.gsub!(y[0], y[1]) try, x=x.gsub(y[0], y[1]) kind regards -botp