How can I remove the first 4 characters of a string using PHP?
You can use this by php function with substr function
<?php function removeChar($value) { $value2 = substr($value, 4); return $value2; } echo removeChar("Dummy Text. Sample Text."); ?>
You get this result: " y Text. Sample Text. "