In PHP there was always a way to have an array of items, but then replace something in a string based on that array.
for example:
<?php
$newarray = array("one","two","three");
$foo = "She had two coin.";
$foo = str_replace($newarray,"xxx",$foo);
echo $foo;
?>
Basically is one, two, or three was found in the string it would be replaced with xxx.
result = ReplaceAll(result,replacements,"")
I was trying to do something similar in xojo, but errors out.
Been searching for the answer, but I must be searching wrong, because I am sure this has come up before.