I have this code below
$txt = "12345678910";
$start = preg_split("/5/", $txt);
$split = str_split($start[1], 2);
echo implode(',', $split);
echo $start[0];
Which start text split from 5 example 67, 89, 10 in my achievement, I want to be able get the let unsplit text and the split text also example my result show look like:
67, 89, 10
and
12345
thanks for understanding and impact in my soluction.