Answers for "php make array from strings"

PHP
7

php implode

$arr = array('Hello','World!','Beautiful','Day!');
echo implode(" ",$arr);
// Outputs: 'Hello World! Beautiful Day!'
Posted by: Guest on June-16-2020
5

php split string

explode(" ","Geeks for Geeks")
Posted by: Guest on April-02-2020

Code answers related to "php make array from strings"

Browse Popular Code Answers by Language