# Split values form List View Items

**URL:** <https://community.thunkable.com/t/split-values-form-list-view-items/1625573>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, help\
**Created:** [November 20, 2021, 6:05am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573 "2021-11-20T06:05:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 6:05am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/1 "2021-11-20T06:05:24Z")

</div>

Hi, Friends This is my list, From this list when clicked item i want get first object value of clicked item.  
example; In my list  
1st row value is  
ABCD  
EFGHIJK  
1234567  
2nd row value is  
Test  
Help  
97861234  
like this my list now if i clicked row 1st i want get ABCD  
If i clicked row 2nd i want get Test  
Please help me someone.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e3359b410ecdf6bf512ffb033d1c1d695270fb32.jpeg)  
Thank you Friends.

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 6:30am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/2 "2021-11-20T06:30:18Z")

</div>

Use the block called when list\_viewer 1 item click. Then put in the blocks that you want.

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 6:34am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/3 "2021-11-20T06:34:32Z")

</div>

Sorry friend can you explain with blocks.

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 6:35am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/4 "2021-11-20T06:35:11Z")

</div>

Would like me to take a photo of the block?

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 6:43am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/5 "2021-11-20T06:43:15Z")

</div>

![Image1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/b/0b52ba23e43c50a2ea73888758f1a6cbbf9d73a1.jpeg)

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 6:44am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/6 "2021-11-20T06:44:27Z")

</div>

Let me see…

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 6:49am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/7 "2021-11-20T06:49:30Z")

</div>

Try making separate list viewers then use the block when CUS\_List\_Viewer item click do set label1’s text to whatever text you want.

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 6:51am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/8 "2021-11-20T06:51:24Z")

</div>

![Image2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5a4b8c2f4e44ea4a2bcf1a6e5997ceb9a05e86e0.jpeg)  
This is current result but i want show BALACHANDAR only

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 6:52am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/9 "2021-11-20T06:52:45Z")

</div>

Use the block set label1’s text to… Then put the text you want.

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 6:55am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/10 "2021-11-20T06:55:22Z")

</div>

No friend it should take from list when i click item

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 7:10am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/11 "2021-11-20T07:10:29Z")

</div>

Take a look at the code blocks I’ve used. There I’ve just wanted the top text. So take a look at the blocks with this thunkable app link:[Thunkable](https://x.thunkable.com/copy/1210b785f171ad625200fb263651b145)

---

<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:** [November 20, 2021, 7:24am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/12 "2021-11-20T07:24:25Z")

</div>

@ant_1 No, this is not dynamic. It won’t work with anything other than “Hi” in the top line.

@balabharathi.slmkx98 How are you storing the data in the list viewer? How are you creating the three-line entries? Are you using `join` and `newline` blocks? Share a screenshot of the blocks you are using.

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 7:56am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/13 "2021-11-20T07:56:48Z")

</div>

> [@tatiang](#):
>
> using `join` and `newline` blocks

 ![list view blocks](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/e/eee43961d10e85395b0f9a60f75675db209b92b5.jpeg)

---

<div class="post-metadata">

**Author:** ![ant\_1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ant_1/32/183393_2.png) [@ant\_1](https://community.thunkable.com/u/ant_1)\
**Post date:** [November 20, 2021, 8:04am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/14 "2021-11-20T08:04:44Z")

</div>

Ok.

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 10:06am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/15 "2021-11-20T10:06:49Z")

</div>

Hi, Mr.Tatiang finally i got solution with this blocks its working after trying different way’s thanks for your reply.

 ![Image3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/9/d994e6425251b0b14e57b9cf7606059ffcb41499.jpeg)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [November 20, 2021, 10:19am UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/16 "2021-11-20T10:19:31Z")

</div>

I made this test list  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/f/5fd7e7700036a9120f1040096a34fe0324b388bd.png)

and used this code

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/43797cc5f04b9db8ff99066b83e16a7c0a49b70b.png)

When I click, I get the first line only  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/8/18bfd9f321ece2d89287fecf8b7339bb42997e3e.png)

Easy and does not need to go back to the database.

---

<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:** [November 20, 2021, 12:31pm UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/17 "2021-11-20T12:31:36Z")

</div>

IMO

It would be easiest to store this data as a list of objects with several key/value pairs. Easier to work with the data for me this way

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [November 20, 2021, 12:49pm UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/18 "2021-11-20T12:49:07Z")

</div>

I believe the data is retrieved from Firebase but the developer decided to parse it this way in the `List Viewer` so it would be easier to get the first line of text using `Text substring`.

---

<div class="post-metadata">

**Author:** ![balabharathi.slmkx98](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@balabharathi.slmkx98](https://community.thunkable.com/u/balabharathi.slmkx98)\
**Post date:** [November 20, 2021, 1:00pm UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/19 "2021-11-20T13:00:38Z")

</div>

Thanks a lot sir you made very simplify my blocks. thanks once again sir

---

<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 18, 2022, 1:01pm UTC](https://community.thunkable.com/t/split-values-form-list-view-items/1625573/20 "2022-02-18T13:01:15Z")

</div>

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