Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
List.InsertValue
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
Parameters
Parameter | Description | Example |
---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" |
Index | the index where to insert. | 0 |
Text | The text to add. | "Hello" |
Result
Returns list or error.
Description
Inserts a value to a list.Please note that List.AddValue is more efficient than inserting.
Examples
Inserts a value in-between:
MBS( "List.InsertValue"; "Hello¶World"; 1; "Third" )
See also
Release notes
- Version 8.0
- Fixed List.InsertValue for appending.
- Version 7.1
Blog Entries
This function checks for a license.
Created 11st March 2017, last changed 15th January 2024