Answers for "php remove all occurrences of substring"

PHP
32

php replace

str_replace ($search, $replace, $subject);
Posted by: Guest on June-17-2019
3

php replace every occurrence of character in string

//replaces every occurence of $search with $replace in the string $subject
str_replace ($search, $replace, $subject);
Posted by: Guest on July-12-2020

Code answers related to "php remove all occurrences of substring"

Browse Popular Code Answers by Language