List.Split

List.Split

Splits the specified list into a list of lists using the specified page size.

function (list as list, pageSize as number) as list

Description

Splits list into a list of lists where the first element of the output list is a list containing the first pageSize elements from the source list, the next element of the output list is a list containing the next pageSize elements from the source list, etc.

Category

List.Transformation functions