Mega Code Archive

 
Categories / Php / Strings
 

Mixed str_replace ( mixed needle, mixed replace, mixed haystack [, int &count] )

<?     $string = "this is a test";     $newstring = str_replace("is", "is not", $string);     print $newstring; ?>