# \[Solved\] How to find an item index in a list?

**URL:** <https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801>\
**Category:** Questions about Thunkable X\
**Created:** [September 19, 2022, 5:37pm UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801 "2022-09-19T17:37:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yunglurd95sba70d](https://avatars.discourse-cdn.com/v4/letter/y/c0e974/32.png) [@yunglurd95sba70d](https://community.thunkable.com/u/yunglurd95sba70d)\
**Post date:** [September 19, 2022, 5:37pm UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801/1 "2022-09-19T17:37:33Z")

</div>

Is there a way to find the index of an item in a list, given that you are not using any data sources or API to import data, just a regular list?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 19, 2022, 5:44pm UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801/2 "2022-09-19T17:44:52Z")

</div>

Yes, use the `First occurrence of` block:

> **[Lists](https://docs.thunkable.com/lists#find-first-last-occurrence)**

---

<div class="post-metadata">

**Author:** ![yunglurd95sba70d](https://avatars.discourse-cdn.com/v4/letter/y/c0e974/32.png) [@yunglurd95sba70d](https://community.thunkable.com/u/yunglurd95sba70d)\
**Post date:** [September 20, 2022, 4:24pm UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801/3 "2022-09-20T16:24:35Z")

</div>

Thanks @tatiang. Just making sure.  
Say I have a list  
Apple  
Orange  
Mango  
Banana

I want to find the index of mango, will the ‘first occurrence of’ block return 3?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 20, 2022, 4:37pm UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801/4 "2022-09-20T16:37:24Z")

</div>

Yep

---

<div class="post-metadata">

**Author:** ![yunglurd95sba70d](https://avatars.discourse-cdn.com/v4/letter/y/c0e974/32.png) [@yunglurd95sba70d](https://community.thunkable.com/u/yunglurd95sba70d)\
**Post date:** [September 21, 2022, 2:22am UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801/5 "2022-09-21T02:22:14Z")

</div>

@jared and @tatiang, thanks a lot for the response, worked well.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 20, 2022, 2:22am UTC](https://community.thunkable.com/t/solved-how-to-find-an-item-index-in-a-list/2048801/6 "2022-12-20T02:22:33Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
