Altova FlowForce Server 2026 

Returns a partial list from a list.

 

Signature

slice(list as list, start as number, end as number=length(list)) -> list

 

Parameters

Name

Type

Description

list

list

Specifies the input list.

start

number

Specifies the zero-based index of the first list item to include in the slice.

end

number

Specifies the zero-based index of the first item to ignore in the slice.

 

Examples

The following expression returns list(2,3):

 

slice(list(1,2,3,4),1,3)

 

© 2020-2026 Altova GmbH