Use ASCAN to find an array element or do a simple string replace like
code:
$a='\\server1\printer'
$a=replace($a,'server1','server2')
function replace($string,$search,$replace)
$replace=join(split($string,$search),$replace)
endfunction

_________________________
There are two types of vessels, submarines and targets.