Strings In Depth4 / 18
Up next

Split with explode

<?php
declare(strict_types=1);
$csv = "a,b,c";
// explode splits on a delimiter
$parts = explode(",", $csv);
print_r($parts);
What you're solving

break a string into an array