Hi,

At Wed, 25 Jul 2007 07:55:04 +0900,
LeonB wrote in [ruby-talk:261630]:
> Am I not duplicating any built-in ruby functions?

Perhaps.  See String#rstrip and #lstrip.

-- 
Nobu Nakada