title: split at the first space in a string
body: <p>I have a string like this:</p>
  
  <blockquote>
    <p><em>red yellow blue</em></p>
  </blockquote>
  
  <p>and I want to get an array like this :</p>
  
  <blockquote>
    <p>Array (
        [0] => red
        [1] => yellow blue )</p>
  </blockquote>
  
  <p>how to split at the first space in a string ?
  my code doesn't work</p>
  
  <pre><code>&lt;?php
  $str = "red yellow blue";
  $preg = preg_split("/^\s+/", $str);
  print_r($preg);
  ?&gt;
  </code></pre>
  
  <p>please help me.</p>