Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Syntax
List.Range(
list as list,
offset as number,
optional count as nullable number
) as list
About
Returns a subset of list beginning at offset. An optional parameter, count, sets the maximum number of items in the subset.
Example 1
Find the subset starting at offset 6 of the list of numbers 1 through 10.
Usage
List.Range({1..10}, 6)
Output
{7, 8, 9, 10}
Example 2
Find the subset of length 2 from offset 6, from the list of numbers 1 through 10.
Usage
List.Range({1..10}, 6, 2)
Output
{7, 8}