PHP Replace string with another string – PHP April 28, 2011 Pramod T P Leave a comment <?php $name = "Hello Name"; $name =str_replace("Name", "First Name", $name); echo $name; // Hello First Name ?>