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


Inserts a value to a list.

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


Parameter Description Example
List The list to process. "Hello" ¶ "" ¶ "World"
Index the index where to insert. 0
Text The text to add. "Hello"


Returns list or error.


Inserts a value to a list.
Please note that List.AddValue is more efficient than inserting.


Inserts a value in-between:

MBS( "List.InsertValue"; "Hello¶World"; 1; "Third" )

See also

Release notes

Blog Entries

This function checks for a license.

Created 11st March 2017, last changed 15th January 2024

List.IndexOfFirstValueMatching - List.MapEntries