Answers for "php string into array"

PHP
27

php explode

$colors  = "red,blue,green,orange";
$colorsArray = explode(",", $colors);
Posted by: Guest on June-14-2019
0

string to array php

str_split ( string $string [, int $split_length = 1 ] ) : array
Posted by: Guest on February-24-2020

Code answers related to "php string into array"

Browse Popular Code Answers by Language