oh, and if you want an efficient replace udf, try this:

Function replace($string,$replacewhat,$replacewith)
$replace=join(split($string,$replacewhat),$replacewith)
endfunction
_________________________
!

download KiXnet