# Basic Question regarding Filtering a list of texts

**URL:** <https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946>\
**Category:** Need help\
**Created:** [May 29, 2019, 10:46am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946 "2019-05-29T10:46:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [May 29, 2019, 10:46am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/1 "2019-05-29T10:46:17Z")

</div>

Hey All,  
I’m sure I’m going to do a face slap here but I’m having trouble filtering a list of texts.

Basically I have 2 lists of texts one has 100 items, the other has up to 100 items (lets say 20 for this example).  
Those 20 items will be the same as some of the items in the 100 items.

I basically want to filter out the 20 items from the 100 so I have the remaining list of 80 items

example

List 1  
apple  
orange  
blue  
red  
warm  
hot  
cold  
day  
night

List 2  
Blue  
hot  
day

End Result List  
apple  
orange  
red  
warm  
cold  
night

I’ve tried to filter the list but I don’t have the “is in” option available.  
For some reason I just can’t figure it out

---

<div class="post-metadata">

**Author:** ![luke2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luke2/32/256674_2.png) [@luke2](https://forum.bubble.io/u/luke2)\
**Post date:** [May 29, 2019, 11:10am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/2 "2019-05-29T11:10:40Z")

</div>

Hey @chad

Is this list being pulled from a custom state or database.

Quick thought, have you tried the :unique elements modifer?  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/1/1196493371031b3e08a51f14d10104c6bd3693a1.png)

> **[Introduction](https://manual.bubble.io/)**
>
> Welcome to the Bubble Docs.

---

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [May 29, 2019, 11:14am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/3 "2019-05-29T11:14:08Z")

</div>

Thanks for the reply Luke  
Yes 2 custom states,  
Unique Elements will just give me a list of all the items I believe. It wont give me back the a list of items that aren’t doubles, it just stops doubles from being in the list if that makes sense.

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [May 29, 2019, 11:24am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/4 "2019-05-29T11:24:35Z")

</div>

You might want to look at an Advanced filter.

That will allow you do “List 2” does not contain this item from list 1.

---

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [May 29, 2019, 11:34am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/5 "2019-05-29T11:34:08Z")

</div>

Not sure if its just me Nigel but I dont think I can do Advanced Filter on a list of text’

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [May 29, 2019, 12:15pm UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/6 "2019-05-29T12:15:07Z")

</div>

Ah, no you are right. But you can still do it …

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/1/4128b91598727ec3a253cc0bf5d546256414f0dd.png)

---

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [May 29, 2019, 12:53pm UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/7 "2019-05-29T12:53:59Z")

</div>

So I’ve just tried to replicate what you’ve done but I dont think it works, generally the “is in”, “isn’t in” are the operators that do the trick but “doesn’t contain” returned an empty list

---

<div class="post-metadata">

**Author:** ![chad](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chad/32/89415_2.png) [@chad](https://forum.bubble.io/u/chad)\
**Post date:** [May 29, 2019, 12:58pm UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/8 "2019-05-29T12:58:23Z")

</div>

sorry my bad it does work

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [August 7, 2019, 10:46am UTC](https://forum.bubble.io/t/basic-question-regarding-filtering-a-list-of-texts/57946/9 "2019-08-07T10:46:19Z")

</div>

Closed on August 7, 2019, 10:46am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
