From: nobu.nokada@... Date: 2002-04-11T03:57:06+09:00 Subject: Re: delete a sequence of chars Hi, At Thu, 11 Apr 2002 02:28:30 +0900, Hugh Sasse Staff Elec Eng wrote: > irb(main):001:0> a="http://www.hopita.net" > "http://www.hopita.net" > irb(main):002:0> a.sub "http://","" > "www.hopita.net" > irb(main):003:0> > > which overcomes the main \/ problem. Note that String#sub makes first argument to Regexp automatically if it's String. -- Nobu Nakada