On 20/12/2012 18:22, Calvin Bornhofen wrote:
> Hello,
>
> yes, there is (two, actually). They are called String#gsub and 
> String#gsub!, respectively.
>
> Regards
>
>
>
Many thanks - I did not know one could have a variable as an argument 
for sub or sub!

Regards

_John S_