title: How to access elements of array after using string.split in Velocity?
body: <p>I am using Velocity Templating Language and currently have:</p>
  
  <pre><code>#set ( $stringList = $string.split(",") )
  </code></pre>
  
  <p>which works fine and splits the string up using a ',' as a delimiter as expected.</p>
  
  <p>My question is how do i now access each of the elements in the $stringList?</p>
  
  <p>I have tried:</p>
  
  <pre><code>$stringList.get(0)
  $stringList[0]
  $stringList.[0]
  ${stringList}.get(0)
  </code></pre>
  
  <p>I am using Velocity in JIRA and JIRA happens to use Velocity version 1.4 which apparently doesn't have support for accessing arrays as tried above.</p>
  
  <p>Any help is much appreciated.</p>