Answers for "str_replace regex php remove character"

PHP
8

php replace string within string

$new_string = str_replace( $take_out, $put_in, $string);
Posted by: Guest on August-18-2020
2

php str replace

<?php
$string = str_ireplace("FoX", "CAT", "the quick brown fox jumps over the lazy dog");
echo $string; // the quick brown CAT jumps over the lazy dog
?>
Posted by: Guest on May-18-2020

Browse Popular Code Answers by Language