Answers for "rphp replace in string variables %s"

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

Browse Popular Code Answers by Language