Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
List.Find
Finds an entry in the list.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "List.Find"; List; Value { ; ignoreCase } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" | |
Value | The value to look for. | "World" | |
ignoreCase | Boolean to define whether to ignore case. Default is 0 for case sensitive compare. Pass 1 for case insensitive compare. |
0 | Optional |
Result
Returns index or error.
Description
Finds an entry in the list.Returns -1 if item is not found.
The index is zero based.
Examples
Look for World:
MBS( "List.Find"; "Hello¶World¶Test"; "World")
Example result: 1
Look for world:
MBS( "List.Find"; "Hello¶World¶Test"; "world"; 1)
Example result: 1
See also
Release notes
- Version 14.0
- Added CaseSensitive flag for List.FindDuplicateItems, List.HasDuplicateItems, List.RemoveDuplicateItems, QuickList.FindDuplicateItems, QuickList.HasDuplicateItems, QuickList.RemoveDuplicateItems.
- Version 11.1
- Added List.Find and QuickList.Find functions.
- Version 10.5
- Added List.FindDuplicateItems and QuickList.FindDuplicateItems functions.
- Version 7.3
- Added parameter for QuickList.FindUnequals and List.FindUnequals to only return items from first list.
Blog Entries
- MBS FileMaker Plugin 11.1
- Neues MBS FileMaker Plugin 11.1
- MBS FileMaker Plugin 11.1
- MBS FileMaker Plugin, version 11.1pr6
This function checks for a license.
Created 22nd February 2021, last changed 7th September 2022