Q:

Split a string into exactly two strings in php

I need to split a string into exactly two parts.
Example:
$str = 'abc def ghi jkl'

Result:
$arr[0] = 'abc'
$arr[1] = 'def ghi jkl'

I tried 
explode(' ', $str);

but it is giving me all the parts of the string. 
How do you combine the rest of the array would be a better question i guess?
Thanks for your help~

A:

explode(' ', $str, 2)

Read more about it at http://php.net/explode.

