# Search a variable in another variable

**URL:** <https://community.thunkable.com/t/search-a-variable-in-another-variable/2693992>\
**Category:** Questions about Thunkable X\
**Created:** [November 10, 2023, 12:19pm UTC](https://community.thunkable.com/t/search-a-variable-in-another-variable/2693992 "2023-11-10T12:19:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rusticone](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rusticone/32/163435_2.png) [@rusticone](https://community.thunkable.com/u/rusticone)\
**Post date:** [November 10, 2023, 12:19pm UTC](https://community.thunkable.com/t/search-a-variable-in-another-variable/2693992/1 "2023-11-10T12:19:24Z")

</div>

I have set the variable “alpha” with the value

“580c0b78-579e-4a54-9945-4e1d2b0a44deOttobre,580c0b78-579e-4a54-9945-4e1d2b0a44deDicembre,d97f6b7c-a53d-4174-855a-b64c369e5a5eDicembre,494039b8-f34d-4a39-bc4f-3866599edba9Ottobre,580c0b78-579e-4a54-9945-4e1d2b0a44deOttobre,580c0b78-579e-4a54-9945-4e1d2b0a44deDicembre,d97f6b7c-a53d-4174-855a-b64c369e5a5eDicembre, **494039b8-f34d-4a39-bc4f-3866599edba9Ottobre** ,1c69f897-9942-4ee0-946c-78e79769cb4aNovembre,1c69f897-9942-4ee0-946c-78e79769cb4aNovembre,03b79799-cfcd-46d1-bb25-78299ad081c5Novembre,03b79799-cfcd-46d1-bb25-78299ad081c5Novembre,7389b1ba-7071-4235-a976-8606e9366aeaNovembre,7389b1ba-7071-4235-a976-8606e9366aeaNovembre,1c69f897-9942-4ee0-946c-78e79769cb4aDicembre,1c69f897-9942-4ee0-946c-78e79769cb4aDicembre”

I have another variable “beta” set with “494039b8-f34d-4a39-bc4f-3866599edba9Ottobre”

How can I have a variable “gamma” setted “true” that inform me that the value in “beta” is present in “alpha”?

Grazie!

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [November 10, 2023, 2:18pm UTC](https://community.thunkable.com/t/search-a-variable-in-another-variable/2693992/2 "2023-11-10T14:18:36Z")

</div>

You need to use this text block -

![2023-11-10 10 11 49](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/a/1a47490fc4434c415c65294d1f802f77b8c05f3a.png)

Replace “abc” with variable alpha and “b” with beta.

If True, set variable gamma to true, else set to false.

---

<div class="post-metadata">

**Author:** ![rusticone](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rusticone/32/163435_2.png) [@rusticone](https://community.thunkable.com/u/rusticone)\
**Post date:** [November 10, 2023, 2:43pm UTC](https://community.thunkable.com/t/search-a-variable-in-another-variable/2693992/3 "2023-11-10T14:43:21Z")

</div>

Grazie! Funziona!!! (it works!!)

---

<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:** [February 8, 2024, 2:43pm UTC](https://community.thunkable.com/t/search-a-variable-in-another-variable/2693992/4 "2024-02-08T14:43:27Z")

</div>

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