<?php $str = 'bar'; $str[1] = 'A'; echo $str; $char ='3'; $pos = '2'; $str = substr_replace($str,$char,$pos,1); echo '\n'; echo $str;
You have javascript disabled. You will not be able to edit any code.