title: Python like list slicing in Groovy
body: <p>Given the following list:</p>
  
  <p><code>a = [0,1,2,3,4,5]</code></p>
  
  <p>In python I can do this:</p>
  
  <p><code>a[2:4]</code> which will get me <code>[2,3]</code></p>
  
  <p>Given that same list in groovy, is there a similar slicing mechanism I can use?</p>