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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

List.FindUnequals

Finds unequal items in both lists.

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

MBS( "List.FindUnequals"; List1; List2 { ; NoReturnEnding; NotFromSecondList } )

Parameters

Parameter Description Example value
List1 The first list. "Hello" ¶ "World"
List2 The second list. "Hello" ¶ "Friends"
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
NotFromSecondList Optional
Pass 1 to only returns items from first list not present in second list.
Default is 0 to get items from both lists.
0

Result

Returns new list.

Description

Finds unequal items in both lists.

Examples

Find non equal entries in both lists:

MBS( "List.FindUnequals"; "Hello¶World"; "Hello¶Friends"; 1 )

Example result:
"World
Friends"

Find items in first list which are not in second list:

MBS( "List.FindUnequals"; "Hello¶World"; "Hello¶Friends"; 1; 1 )

Example result: "Hello"

See also

Example Databases


List.FindEquals   -   List.GetValue

Feedback: Report problem or ask question.




Links
MBS Xojo blog