<?php $sentence = "Maria went to London where he met Peter with his family."; $clean = str_replace(' he ', ' she ', substr($sentence, 0, 34)); $clean .= substr($sentence, 34); echo $clean;
You have javascript disabled. You will not be able to edit any code.