1 2 3 4 5
<? $whatToStrip = array("?","!",",",";"); $test = "Hi! Am I here?"; echo $test."\n\n"; echo str_replace($whatToStrip, "", $test);
1 2 3
Hi! Am I here? Hi Am I here