Tim Hunter wrote: > Dan German wrote: >> One problem, the substring contains a ?, and is left in the resultant >> string >> >> > It would help if you'd show an actual string you have and what you'd > like it to become. If you have two examples, even better. It's actually a youtube url: ex. http://www.youtube.com/watch?v=OY8AIhbqPHo I'm trying to remove the watch? string; the slice method works, but it would be better if you could use something like gsub -- Posted via http://www.ruby-forum.com/.