Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Returns a part of the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 7.5 Yes Yes Yes Yes Yes

MBS( "QuickList.SubList"; ListRef; Index; Count { ; ReturnNewList; NoReturnEnding } )


Parameter Description Example value
ListRef The reference to the list returned from QuickList.New function. $List
Index The zero based index where to start.
Or in other words: How many entries to skip.
Count How many entries to copy.
If negative, we pick the other items left.
ReturnNewList Optional
Pass 1 to return result as new QuickList. This new list must be freed later using QuickList.Free function. Pass 0 (Default) to return a text list.
NoReturnEnding Optional
If you passed 0 for ReturnNewList, decides about new list:
Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists.


Returns OK or error.


Returns a part of the list.
Can return new QuickList or normal list.

See also

QuickList.SortWith   -   QuickList.Trim

Feedback: Report problem or ask question.

MBS Xojo blog