PHP ltrim() May 22, 2012 Pramod T P It strips whitespace from the beginning of a string Example <?php echo ltrim(” phpcode”); ?> Output phpcode