How can I explode every third semicolon (;) as a piece?
example data: $string = piece1;piece2;piece3;piece4;piece5;piece6;piece7;piece8;
example output would be:
$output[0] = piece1;piece2:piece3;
$output[1] = piece4;piece5;piece6;
$output[2] = piece7;piece8;
Thanks!
See Question&Answers more detail:os