Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

List.Remove

Removes the value with the given index in the list.

Component Version macOS Windows Linux Server iOS SDK
List 7.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "List.Remove"; List; Index )   More

Parameters

Parameter Description Example
List The list to process. "Hello" ¶ "" ¶ "World"
Index The index of the item to remove. Range from 0 to QuickList.Count-1. 0

Result

Returns list or error.

Description

Removes the value with the given index in the list.
Returns a new list where the value is missing.
For big lists, using QuickList functions is much faster. The list is only parsed once and stored in memory.

Examples

Remove an entry:

MBS( "List.Remove"; "Hello¶World¶Test"; 1 )

Example result:
Hello
Test

See also

Release notes

This function checks for a license.

Created 11st March 2017, last changed 18th December 2020


List.RegExMatch - List.RemoveDuplicateItems

💬 Ask a question or report a problem