GALiRe
GScript command (replace)
Function:
Replaces a string in another string and returns it. i.e. -
$newVal = replace("happy ","sad ", gi); // replaces happy with sad
g is to replaces all instances, i is for case-insensitive
This does not work outside of GALiRe Script.