PHP sprintf() May 22, 2012 Pramod T P It returns a formatted string Example <?php parse_str(“first=php&second=code”); echo sprintf(“%s%s”,$first,$second); ?> Output phpcode