From: Robert Klemme Date: 2005-09-14T20:16:34+09:00 Subject: Re: Some suggestions Gavin Kistner wrote: > On Sep 13, 2005, at 12:31 AM, Robert Klemme wrote: >> #strip >> gsub /[ab]+/, '' > > Isn't #strip for leading/trailing only? (A combined lstrip and > rstrip, if you will.) > > So: > gsub /^[ab]+|[ab]+$/, '' Right! Thanks for the correction. robert