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.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  

QuickList.ValueIndex

Finds the index for a given value.

Component Version macOS Windows Linux Server iOS SDK
List 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.ValueIndex"; ListRef; Value )   More

Parameters

Parameter Description Example
ListRef The reference to the list returned from QuickList.New function. $List
Value The text to find. "Hello"

Result

Returns index, nothing or error.

Description

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.

See also

Blog Entries

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


QuickList.Trim - QuickList.XOr

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat