Is there a PHP function that can do that?
I'm using strpos
to get the position of a substring and I want to insert a string
after that position.
Is there a PHP function that can do that?
I'm using strpos
to get the position of a substring and I want to insert a string
after that position.
$newstr = substr_replace($oldstr, $str_to_insert, $pos, 0);