From: Brian Wisti Date: 2002-04-11T02:26:03+09:00 Subject: Re: delete a sequence of chars You know, that is a _really_ cool feature. I was confused by it for a second, but it's working similar to an array slice, yes? The Principle of Least Surprise in action. Frankly, having a language to what you would expect it to is almost a violation of the POLS! Back to my coffee, Brian Wisti On Wednesday 10 April 2002 05:18 pm, Dave Thomas wrote: > How about: > > irbsh(main):001:0> a = 'http://www.hotpita.net' > irbsh(main):002:0> a['http://'] = '' > irbsh(main):003:0> a > "www.hotpita.net" > > > Dave -- Brian Wisti brian@coolnamehere.com http://www.coolnamehere.com