title: Objective-C Split an array into two separate arrays based on even/odd indexes
body: <p>I have an array, NSMutableArray *stringArray that looks like this</p>
  
  <pre><code>stringArray = 
  
  [0]String1
  [1]String2
  [2]String3
  [3]String4
  [4]String5
  [5]String6
  </code></pre>
  
  <p>How would I go about splitting this array into two arrays based on even/odd indexes?</p>
  
  <p>Example:</p>
  
  <pre><code>NSMutableArray *oddArray = ([1], [3], [5]);
  
  NSMutableArray *evenArray = ([0], [2], [4]);
  </code></pre>
  
  <p>Thanks in advance!</p>