Source Code:
(back to article)
<?php $array = array('apple', 'banana', 'cherry', 'date'); $delimiter = ','; $string = join($delimiter, $array); echo $string; // Outputs: apple,banana,cherry,date
Result:
Report an issue