Question : add character after x characters in php
Answered by : better-bison-7ur2i4n3weko
$newstr = substr_replace($oldstr, $str_to_insert, $pos, 0);
Source : https://stackoverflow.com/questions/8251426/insert-string-at-specified-position | Last Update : Fri, 30 Apr 21