Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

List.MapEntries

Maps selection of keys from a key list to value list.

Component Version macOS Windows Linux Server iOS SDK
List 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "List.MapEntries"; Keys; KeysSelected; Values { ; NoReturnEnding } )   More

Parameters

Parameter Description Example Flags
Keys The list of keys.
KeysSelected The keys you got from the list of keys.
Values The list of values to query.
Should have same size as keys list.
NoReturnEnding Available in MBS FileMaker Plugin 13.0 or newer.
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 list or error.

Description

Maps selection of keys from a key list to value list.
Keys don't need to be unique.

Examples

Try it:

MBS( "List.MapEntries"; "1¶2¶3¶4"; "2¶4"; "Hello¶World¶Test¶Other" )

Example result:
World
Other

Release notes

Blog Entries

This function checks for a license.

Created 3th June 2021, last changed 9th November 2022


List.InsertValue - List.MatchesPostfix