DMN 1.1 spec, p124, Table 54 says the index is a 0 scale number, which means integer instead of real. It does not mean zero-based. Section 10.3.4.4 List functions, Table 61, page 132, the semantics for the "remove" function clearly show the use of one-based index. Unfortunately, "sublist" and "insert before" examples in the spec appear incorrect!!!
Page 148 of the DMN 1.2 spec has the examples corrected for these two functions.
List indexing and several list functions are defined in the DMN spec as being one-based, not zero based.
DMN 1.1 spec, p124, Table 54 says the index is a 0 scale number, which means integer instead of real. It does not mean zero-based. Section 10.3.4.4 List functions, Table 61, page 132, the semantics for the "remove" function clearly show the use of one-based index. Unfortunately, "sublist" and "insert before" examples in the spec appear incorrect!!!
Page 148 of the DMN 1.2 spec has the examples corrected for these two functions.
I have tried this at https://nikku.github.io/feel-playground and that implementation uses one-based indexing.