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

List.MatchesPrefix

Finds list entries which have a given prefix text.

Component Version macOS Windows Linux Server iOS SDK
List 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "List.MatchesPrefix"; List; Text { ; NoReturnEnding } )   More

Parameters

Parameter Description Example Flags
List The list of texts to search. "Hello"
Text The text to find. "Hello"
NoReturnEnding 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 new list or error.

Description

Finds list entries which have a given prefix text.
Comparison is case insensitive.

Examples

Finds matching prefixes:

MBS( "List.MatchesPrefix"; "Hello¶www¶World"; "w" )

Example result:
www
World

See also

Example Databases

Blog Entries

This function checks for a license.

Created 20th November 2015, last changed 18th July 2021


List.MatchesPostfix - List.MatchesSubString