From: Ian Whitlock Date: 2007-07-27T01:26:50+09:00 Subject: Re: rtrim and ltrim function for ruby: is this ok? Michael Fellinger wrote: > Since we got the power of regex/gsub, let's use it :) Michael, Thanks. I agree that in practice your code is better. I am a newbie who does not yet feel comfortable with regular expressions, but I see what you have done. Ian -- Posted via http://www.ruby-forum.com/.