GALiRe
AScript replace routine




Function:
Replacement function for the a string or variable. i.e. -
$newVal=replace("question","answer",$variable,gi);

This replaces the word 'question' with 'answer' anywhere in the variable $variable and returns the new value to $newVal. This does not work outside of AScript.