How do you split a string array
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1100371/grabbing-a-segment-of-an-array-in-java">Grabbing a segment of an array in Java</a>  </p>
</blockquote>



<p>I have a String[] which might contain 3, 6, 14 or 20 elements. I want to process 10 elements from the String[] array each time. </p>

<p>(e.g. for 3 or 6 it will loop once and twice for 14 or 20)</p>
