Is it possible to count from a specific array in explode?
Example:
<?php
$number='This is the number of,5,6,7,8,9';
$collect=explode(",",$number);
print_r($collect);
?>
Output will be:
Array ( [0] => This is the number of [1] => 5 [2] => 6 [3] => 7 [4] => 8 [5] => 9 )
But I need to ignore the first array. Meaning, that I want to count only 5,6,7,8,9
and ignore "This is the number of"
.