Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #str #replace
ADD COMMENT
Topic
Name
7+4 =