Answers for "remove beginning of string php"

PHP
6

php pop off the first character of string

$str = substr($str, 1);
Posted by: Guest on September-10-2020
0

php remove prefix from string

$str = preg_replace('/^bla_/', '', $str);
Posted by: Guest on September-24-2020

Code answers related to "remove beginning of string php"

Browse Popular Code Answers by Language