I have the code:
$txt = "lookSTARTfromhereSTARTagainhere";
$disp = str_split($txt, 4);
for ($b = 0; $b<3; $b++) {
echo "$disp[$b]";
}
which return 'look
', 'STAR
' 'Tfor
' in a text line of 'lookSTARTfromhereSTARTagainhere
' my problem is how do i start my text split from 'START
' example my result output for text line of 'lookSTARTfromhereSTARTagainhere
' after split look like 'from
' 'here
' 'again
' thanks for your time and understanding