DriveWorks Solo 18: ListGetItems [send feedback...]

ListGetItems

This function returns the specified items from a list of items.

Syntax

ListGetItems([List], [First Item Index], [Items to Get])

Where:

List is the list to get the items from.

First Item Index is the index of the first item to get.

Items to Get is the number of items to get from the list.

Examples

Rule

Meaning
ListGetItems("A|B|C|D|E|F|G|H|I",3,5)This will return the list C|D|E|F|G, taking five items, starting from the third item in the given list.
ListGetItems(ListAll(DwLookupVehicles,1,TRUE),3,3)Will return a list of three items, starting from the third item in the result of the ListAll function.

Table of Contents