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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…