Answers for "php separate string by space and get first and second element"

PHP
2

php split string at first space

$array = explode(' ', $string, 2);
Posted by: Guest on May-31-2020

Code answers related to "php separate string by space and get first and second element"

Browse Popular Code Answers by Language