| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
List.RemoveEmptyItems
Removes empty items in the list.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| List | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "List.RemoveEmptyItems"; List { ; NoReturnEnding } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| List | The list to process. | "Hello" ¶ "" ¶ "World" | |
| NoReturnEnding | 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. | 1 | Optional |
Result
Returns new list.
Description
Removes empty items in the list.Examples
Remove empty lines:
MBS( "List.RemoveEmptyItems"; "Hello" & ¶ & "" & ¶ & "World" )
Example result:
Hello
World
Example result:
Hello
World
See also
Example Databases
This function checks for a license.
Created 18th August 2014, last changed 6th July 2023