Attached: PHP str_replace() function Definition and usage The str_replace() function uses one string to replace other characters in a string. Grammar str_replace(find,replace,string,count) Parameter Description find required. Specifies the value to look for. replace required. Specifies the value to replace the value in find. string required. Specifies the string to be searched for. count optional. A variable counting the number of substitutions. |