on 12/29/01 5:18 AM, Dave Thomas at Dave / PragmaticProgrammer.com wrote:

> "Ralph Mason" <ralph.mason / telogis.com> writes:
> 
>> irb(main):002:0> "123456789 TCP/XT OK".gsub(/TCP\/XT OK/,nil)
>> =>"123456789 "
> 
> Or even...
> 
> a = "123456789 TCP/XT OK"
> a["TCP/XT OK"] = ""
> puts a    #=> "123456789 "
> 
> 
> Dave
> 
clever clogs !
thanks