Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
List.MatchesSubString
Finds list entries which contains a given text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "List.MatchesSubString"; List; Text { ; Flags } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
List | The list to process. | "Hello" ¶ "" ¶ "World" | |
Text | The text to find. | "Hello" | |
Flags | Add 4 to reverse operation (NOT). | 0 | Optional |
Result
Returns list or error.
Description
Finds list entries which contains a given text.Comparison is case insensitive.
Examples
Try the function:
Set Variable [ $r ; Value: "1234¶5678¶12¶34¶5432¶0123¶3" ]
Set Variable [ $n ; Value: MBS( "List.MatchesSubString"; $r; "12" ) ]
Show Custom Dialog [ "Result" ; $n ]
// shows 1234 12 0123
Set Variable [ $d ; Value: MBS( "List.MatchesSubString"; $r; "12"; 4 ) ]
Show Custom Dialog [ "Result" ; $d ]
// shows 5678 34 5432
See also
Release notes
- Version 12.4
- Added List.MatchesSubString function.
- Version 11.0
- Changed QuickList.MatchesSubString to use caseless comparison on Windows and Linux and not just on macOS/iOS.
Blog Entries
- MBS FileMaker Plugin 12.4
- Neues MBS Plugin 12.4 für Claris FileMaker
- MBS Plugin 12.4 for Claris FileMaker
- MBS FileMaker Plugin, version 12.4pr1
This function checks for a license.
Created 21st July 2022, last changed 21st July 2022