How to remove character from string.


<?php
$string = "How to remove character in string .";
$output = substr($string , 4);
echo $output;
/*Output*/
?>

Result : to remove character in string .