Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

List.RemoveEmptyItems

Removes empty items in the list.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 4.2 Yes Yes Yes Yes Yes

MBS( "List.RemoveEmptyItems"; List { ; NoReturnEnding } )

Parameters

Parameter Description Example value
List The list to process. "Hello" ¶ "" ¶ "World"
NoReturnEnding Optional
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

Result

Returns new list.

Description

Removes empty items in the list.

Examples

Remove empty lines:

MBS( "List.RemoveEmptyItems"; "Hello" ¶ "" ¶ "World" )

See also

Example Databases


List.RemoveDuplicateItems   -   List.RemovePostfix

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins