Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Looks for best match of a text in a list of texts.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" | |
SearchText | The text to search. | "Hello" | |
Flags | Available in MBS FileMaker Plugin 14.0 or newer. Pass 0 to use Levenshtein distance. Pass 1 to use Jaro-Winkler distance. Add 2 to return list of top 5 entries. |
0 | Optional |
Returns best match, empty or error.
Looking for best match for Hilo will find Hello:
MBS( "List.BestMatch"; "Test¶Hello¶World¶Hallo"; "Hilo" )
This function checks for a license.
Created 11st December 2014, last changed 10th November 2023