unknown wrote:
> 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

thanks, that works

-- 
Posted via http://www.ruby-forum.com/.