Remove characters from the left side of a string in PHP
Description
The following code shows how to remove characters from the left side of a string.
Example
/*ww w . ja va 2 s . c o m*/
<?php
$str = "Hello World!";
echo $str . "<br>";
echo ltrim($str,"Hello");
?>
The code above generates the following result.