find a specific letter in a string and insert a word after php code example
Example: php insert character into string
$newstr = substr_replace($oldstr, $str_to_insert, $pos, 0);
$newstr = substr_replace($oldstr, $str_to_insert, $pos, 0);