is the any way adding values to an arraylist at a certain position (index)?
The following code works fine (but add the element at the end of the array):
#set($arr = [])
#if ($arr.add('A')) #end
I also tried
#set($arr = [])
#if ($arr.add(1,'A')) #end
but that doesn't work. Although the Java class ArrayList does support both ways... Any help highly appreciated.
BR, Andreas