Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Removes a value from a list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 7.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" | |
Value | The value to remove. | "Hello" | |
All | Optional, pass 1 to remove all values with the given value. Pass 0 (default) to remove only the first matching value. | 0 | Optional |
Returns list or error.
Remove one value:
MBS( "List.RemoveValue"; "Hello¶123¶World¶123¶abc"; "123")
Example result:
Hello
World
123
abc
Remove all values:
MBS( "List.RemoveValue"; "Hello¶123¶World¶123¶abc"; "123"; 1)
Example result:
Hello
World
abc
This function checks for a license.
Created 11st March 2017, last changed 28th July 2019