From: Tobias Reif Date: 2002-04-11T02:27:22+09:00 Subject: Re: delete a sequence of chars Dave Thomas wrote: > irbsh(main):001:0> a = 'http://www.hotpita.net' > irbsh(main):002:0> a['http://'] = '' > irbsh(main):003:0> a > "www.hotpita.net" Thx. I like the .sub more: it has a destructive and a non-destructive version, and it returns the result; saves me one or two lines. Mainly, I was surprised by .delete. Tobi -- http://www.pinkjuice.com/