remove - from string in php code example
Example: php remove text from string
<?php
//Replace the characters "world" in the string "Hello world!" with "Peter":
echo str_replace("world","Peter","Hello world!");
?>
<?php
//Replace the characters "world" in the string "Hello world!" with "Peter":
echo str_replace("world","Peter","Hello world!");
?>