Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Finds list entries which have a given prefix text.

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


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


Returns new list or error.


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


Finds matching prefixes:

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

See also

Blog Entries

Created 20th November 2015, last changed 20th November 2015

List.MatchesPostfix   -   List.Not

Feedback: Report problem or ask question.

MBS Xojo blog