Source Code:
(back to article)
<?php $input = 'John,Doe,25'; $array = str_getcsv($input); print_r($array); // Output: Array([0] => John [1] => Doe [2] => 25) ?>
Result:
Report an issue