indexof : similar function in ant
===

I am using ant and Could anyone please let me know if there is similar function as indexof in ant. 

If the index is greater than 1, it should implement a different logic.



Thanks
