PHP strtr() May 23, 2012 Pramod T P It translate characters or replace substrings Example <?php echo strtr(“One Two”,array(“One” => “PHP”, “Two” => “HTML”)); ?> Output PHP HTML