Answers for "explode everything string in php"

PHP
27

php explode

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

php explode sentence into words

$words = explode(" ", $sentence);
Posted by: Guest on February-12-2021

Browse Popular Code Answers by Language