björn, but easier would mean something like "create a replace udf."
Code:

function replace($,$w,$wc)
$replace = join(split($,$w),$c)
endfunction



who the heck can golf that?