Hi --

On Mon, 18 Jun 2007, Dan German wrote:

> ... I know the substring, its location, and length

You can use slice!.

   string = "This is a string"
   string.slice!(4,5)
   puts string       # => This string


David

-- 
* Books:
   RAILS ROUTING (new! http://safari.awprofessional.com/9780321509246)
   RUBY FOR RAILS (http://www.manning.com/black)
* Ruby/Rails training
     & consulting:  Ruby Power and Light, LLC (http://www.rubypal.com)