For example, if I have this string:
$stuff = "[1379082600-1379082720],[1379082480-1379082480],[1379514420-1379515800],";
I know can do this to split it into an array like this:
$stuff = str_replace(array("[","]"),array("",""),$stuff);
$stuff = explode(",",$stuff);
But it seems like there would be an easier way since the string is already in an array form almost. Is there an easier way?