title: Stop explode after certain index
body: <p>How can I stop explode function after certain index.
  For example </p>
  
  <pre><code>    &lt;?php
          $test="The novel Prognosis Negative by Art Vandelay expresses protest against many different things. The story covers a great deal of time and takes the reader through many different places and events, as the author uses several different techniques to really make the reader think. By using a certain type of narrative structure, Vandelay is able to grab the reader’s attention and make the piece much more effective and meaningful, showing how everything happened";
  
      $result=explode(" ",$test);
      print_r($result);
  ?&gt;
  </code></pre>
  
  <p>What if want to use only first 10 elements ($result[10])
  How can I stop explode function once 10 elements are filled.</p>
  
  <p>One way is to first trim the string upto first 10 spaces (" ")</p>
  
  <p>Is there any other way, I don't want to store the remaining elements after limit anywhere (as done using positive limit parameter)?</p>