Helo here is my problem:

C:\Documents and Settings\spock>irb
irb(main):001:0> a="DEL"
=> "DEL"
irb(main):002:0> b="DELETE"
=> "DELETE"
irb(main):003:0> b.sub(/a/,'')
=> "DELETE"
irb(main):004:0> b.sub(/DEL/,'')
=> "ETE"
irb(main):005:0> quit


How use variable "a" as sub argument ?


-- 
Marcin Jurczuk, NIC-HDL: MJ1679-RIPE