<?php $str = "pomo"; $pos = 2; $str_to_replace = "aa"; $new_str = substr($str, 0, ($pos-1)).$str_to_replace.substr($str, $pos); echo $new_str;
You have javascript disabled. You will not be able to edit any code.