title: how do I extract the 1st element from a ant CSV property
body: <p>given a CSV ant property,</p>
  
  <pre><code>&lt;property name="module.list" value="mod1,mod2,mod3,mod4,mod5"/&gt;
  </code></pre>
  
  <p>how can I just get the first element (ie "mod1" here)? I want to execute a command that will take in "mod1" as one of the arguments.</p>
  
  <p>Moreover.. I cannot modify this original "module.list" property to a list or anything else.. although I can create another list,property,etc from this..</p>
  
  <p>Any help is appreciated..
  Thanks</p>