php ltrim function : php remove left string

Remove characters from the left side of a string:

Example

<?php
$str = “Hello World!”;
echo $str . “<br>”;
echo ltrim($str,”Hello”);
?>
Output:
World!

Satya Prakash

VOIP Expert: More than 8 years of experience in Asterisk Development and Call Center operation Management. Unique Combination of Skill Set as IT, Analytics and operation management.

Leave a Reply