Hi:
I have some strings in the format of 6:780 , 14:1464, ....
I need to split each string into 2 variables or convert it into an array.
I am aware of the explode() function, however that would grab a number like 14:1464 and turn it into a 2 arrays.
I'd need one array.
I'm not string on regular expression, so that might be another option, basically if I were to do something like this it'd be great:
$data = "14:1464";
some function ($data){};
$a ="14";
$b = "1464";
Thanks for your help 🙂