# Can I search and delete lists by text? Index number is unknown

**URL:** https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451
**Category:** Questions about Thunkable X
**Created:** [January 4, 2020, 11:46am UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451 "2020-01-04T11:46:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mom7667yafy](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@mom7667yafy](https://community.thunkable.com/u/mom7667yafy)
#### Post date: [January 4, 2020, 11:46am UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/1 "2020-01-04T11:46:43Z")

</div>

![20200104_203008](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/e/8eaf5c9dcd39d227b9a2d35d2de76c963f177b42.jpeg)

I want to delete [e] from the list in the picture. The index number is 5, but the index number is unknown.  
I only know that there is [e] in the list.  
How can I delete [e]?

In fact, the list contains 12000 texts.

---

<div class="post-metadata">

### Author: ![mom7667yafy](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@mom7667yafy](https://community.thunkable.com/u/mom7667yafy)
#### Post date: [January 4, 2020, 12:54pm UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/2 "2020-01-04T12:54:58Z")

</div>

![스크린샷 2020-01-04 오후 9.42.47](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8c8afbe2309fe4c95e54bb86fe4e0facf3f2f2cc.png)

It works like a picture.  
Is this the right way?

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [January 4, 2020, 1:45pm UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/3 "2020-01-04T13:45:32Z")

</div>

Hi, @mom7667yafy! :wave’

The “first occurrence” block doesn’t return the index accurately (for me it never did).  
Try this to find the index -

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/6/86892d125cc57009be578414297db12d6bac757a.png)

 ![find in list](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/f/bf58bce43d1902a1f51a2fdeffe23feb1124a6bd.png)

This would return the perfect/accurate index.

Thanks! 👋

---

<div class="post-metadata">

### Author: ![mom7667yafy](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@mom7667yafy](https://community.thunkable.com/u/mom7667yafy)
#### Post date: [January 4, 2020, 1:51pm UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/4 "2020-01-04T13:51:43Z")

</div>

I’m a beginner. I don’t know what a block means.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [January 4, 2020, 2:01pm UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/5 "2020-01-04T14:01:02Z")

</div>

Hi,

Can you give an example of a problem with returning an exact index with help of “first occurrence”?

---

<div class="post-metadata">

### Author: ![mom7667yafy](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@mom7667yafy](https://community.thunkable.com/u/mom7667yafy)
#### Post date: [January 4, 2020, 3:56pm UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/6 "2020-01-04T15:56:35Z")

</div>

Can you explain it in an easier block?  
My way seems to be something wrong.

---

<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: [January 4, 2020, 4:33pm UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/8 "2020-01-04T16:33:39Z")

</div>

> [@mom7667yafy](#):
>
> ![스크린샷 2020-01-04 오후 9.42.47](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/c/8c8afbe2309fe4c95e54bb86fe4e0facf3f2f2cc.png)
> 
> It works like a picture.  
> Is this the right way?

Yes, this is the right way.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:46am UTC](https://community.thunkable.com/t/can-i-search-and-delete-lists-by-text-index-number-is-unknown/391451/9 "2024-11-08T11:46:09Z")

</div>


