forEachEnd="${an-EL-expr}"
It is used with the forEach attribute to specify the index (starting from 0) the iteration shall ends at (inclusive). If not specified, the iterations ends at the last element.
If forEachEnd is greater than or equals to the number of elements, the iteration ends at the last element.