QuickList.ValueIndex
--------------------

Finds the index for a given value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [List](component_List.md) | [5.4](newinversion54.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "QuickList.ValueIndex"; ListRef; Value ) 

**MBS**( **"QuickList.ValueIndex";** /\* Finds the index for a given value. \*/  
**$ListRef**; /\* The reference to the list returned from [QuickList.New](QuickListNew.md) function.e.g. $List \*/   
**$Value**) /\* The text to find.e.g. "Hello" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ListRef | The reference to the list returned from [QuickList.New](QuickListNew.md) 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

- [QuickList.New](QuickListNew.md)

### Blog Entries

- [MBS FileMaker Plugin, version 5.4pr7](https://www.mbsplugins.de/archive/2015-11-21/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[QuickList.Trim](QuickListTrim.md) - [QuickList.XOr](QuickListXOr.md)

[HTML Version](QuickListValueIndex.shtml)