Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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" )

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 21st September 2014


List.RemoveDuplicateItems - List.RemovePostfix

Feedback: Report problem or ask question.