PHP string replacement with str_replace function
You can replace a character, a word or even a string from a string through str_replace function in PHP. str_replace function required three string parameter to make replacement on the string first parameter old string which you want to replace and second parameter is new string with you want to replace old string and third and last parameter is whole string.