Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php split string at first space
Ayah alasal
Programming language:
PHP
2021-06-26 10:16:40
0
Q:
php split string at first space
J. Smith
Code:
PHP
2021-07-13 02:49:32
$array = explode(' ', $string, 2);
0
Tags
string
php
first
Related
remove first letter php
php string cut first x characters
php split string
php remove last character from string if comma
php split string from end
php preg match space or start of string
how to divide in php
how to split sting in php
character split php
string remove line breaks php
remove space from string php
php pop off the first character of string
php remove last 3 letters from string
remove last comma from string php
remove last letter php
get words after string in in php
php split string along spaces
remove space from start and end of string in php
php explode multiple delimiters
New to Communities?
Join the community