This function replace some characters with some other characters in a string , this function is case sensitive
syntax:- str_replace(find,replace,string);
find:-required,specifies the value to find
replace:-required,specifies the value to replace the value in find
string:-required,specifies the string to searched
<?php
echo str_replace(“world”,”india”,”hello world”);
?>
OUTPUT :
hello india