Answers for "string comma to array"

PHP
0

string comma to array

// Converts comma seperated values into array
$numbers  = "one,two,three,four";
$numbersArray = explode(",", $numbers);
Posted by: Guest on January-31-2022

Code answers related to "string comma to array"

Browse Popular Code Answers by Language