I need to slice a string into 2 parts, such that, for example, if the string is "4s5ee9f8fg"
, I need it as "4598 seeffg"
I'm trying with this:
$string2 = '132xx';
preg_match("/[0-9]+/",trim($string2),$result);
echo $result[0];
echo $result[1];
Here I'm getting just numeric characters, but not alphabetic characters.
Can anyone give a solution?