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 the index for a given value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
List 5.4 Yes Yes Yes Yes Yes
MBS( "List.ValueIndex"; List; Value )   More


Parameter Description Example value
List The list of texts to search. "Hello"
Value The text to find. "Hello"


Returns index, nothing or error.


Finds the index for a given value.
Returns zero based index (0 = first list value).
Returns empty result if not found.
Comparison is case insensitive.


Searches a word in a list:

# Returns 4
MBS( "List.ValueIndex"; "Hello¶1¶2¶3¶World"; "world" )

Blog Entries

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

List.Trim   -   List.XOr

Feedback: Report problem or ask question.

MBS Xojo tutorial videos