Try ltrim()
to remove characters at the begining of a string.
$str=" Some Stuff here this is ok and this is";
echo ltrim(ltrim($str, ' '), ' ');
Try ltrim()
to remove characters at the begining of a string.
$str=" Some Stuff here this is ok and this is";
echo ltrim(ltrim($str, ' '), ' ');