title: Get sub list from a list in freemarker
body: <p>I have a list in free marker as below:</p>
  
  <pre><code> &lt;#assign listVar = ["v1", "v2", "v3", "v4" ] /&gt;
  </code></pre>
  
  <p>From the above list I just want the sub list as v1 and v2.</p>
  
  <p>I have been wandering to get the sub list in free marker. But couldn't managed to find. </p>
  
  <p>Any help would be appreciate.</p>