Online Free Tutorials Guruji Guide & Materials – Solved Questions Answers
$str=':this is a applepie :) ';
How to use PHP, Remove the first character :
To remove every : from the beginning of a string, you can use ltrim:
$str = '::f:o:';
$str = ltrim($str, ':');
var_dump($str); //=> 'f:o:'
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.