Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Blog Entries

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


List.MatchesPostfix - List.Not

Feedback: Report problem or ask question.