[Solved] How do i start text str_split after some characters


it may not be possible by str_split as ‘again’ has 5 characters. you can get ‘from’, ‘here’ by following code.

$txt = "lookSTARTfromhereSTARTagainhere";
$txt = str_replace('look','',$txt);
$txt = str_replace('START','',$txt);
$disp = str_split($txt, 4); 
for ($b = 0; $b<3; $b++) {
    echo "$disp[$b]"; 
} 

solved How do i start text str_split after some characters