From: Keith Johnston Date: 2008-10-01T19:30:26+09:00 Subject: String delete method help Hi, I have a string which hold a URL. I'm trying to use the string .delete method to remove the domain from the url but it isn't working as I thought it should from the docs. For example: string = "http://groups.google.com/group/ruby-talk-google/" I want to remove the "http://groups.google.com" part of the string, so I tried: string.delete('http', 'com') thinking this would delete everything between 'http' and 'com' but all I get is the entire string without any changes and with no errors. I'm probably misunderstanding how the delete function works - can someone explain? Thanks,