Answers for "how to divede string php"

PHP
8

explode comma php

$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
Posted by: Guest on April-17-2020
0

string to array php

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

Browse Popular Code Answers by Language