# How to separate data text into different repeating group cells

**URL:** <https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037>\
**Category:** Need help\
**Created:** [May 20, 2024, 3:46am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037 "2024-05-20T03:46:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpdougherty24](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jpdougherty24](https://forum.bubble.io/u/jpdougherty24)\
**Post date:** [May 20, 2024, 3:46am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/1 "2024-05-20T03:46:16Z")

</div>

Hello I am trying to separate text into multiple cells of a repeating. It is a script for a movie that is created by Chat GPT. Chat GPT gives me a response with a script but the response is in one row/cell of the repeating group. I want the response to be separated so that each new line is in a new repeating group cell. This way users can edit their scripts. I tried the Split by… function to fix this issue but it does not allow me to use it. Any thoughts or suggestions on how I can split each line of text into its own repeating group? Here are some screenshots if it helps

 ![Screenshot 2024-05-19 at 11.35.55 PM](https://us1.discourse-cdn.com/bubble/original/3X/a/d/ad790bc67d66738d5534332ac60ea2cf4e4f46b8.png)  
 ![Screenshot 2024-05-19 at 11.33.47 PM](https://us1.discourse-cdn.com/bubble/original/3X/9/d/9df97a38fa00210bce81c9bd792ae5e2616bc6c9.jpeg)  
 ![Screenshot 2024-05-19 at 11.34.47 PM](https://us1.discourse-cdn.com/bubble/original/3X/b/c/bc33bdc6dd9a62e7a3240fac8050faffe8413f9c.png)  
 ![Screenshot 2024-05-19 at 11.38.13 PM](https://us1.discourse-cdn.com/bubble/original/3X/c/5/c5c57cc5ad8561238e444a069b70f9a6581354e7.png)

---

<div class="post-metadata">

**Author:** ![flusk](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/flusk/32/216042_2.png) [@flusk](https://forum.bubble.io/u/flusk)\
**Post date:** [May 20, 2024, 3:53am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/2 "2024-05-20T03:53:56Z")

</div>

Hey @jpdougherty24 👋

Result of the `split by` is a list of `text`, not `dialogue`. Change the repeating group’s type of content to `text` and it should at least get rid of that red issue.

> ![bdk_512x512](https://api.flusk.eu/api:-2sATD7a/forum-logo?user=huseyin) @Huseyin from Flusk | [Discover the #1 Security and Monitoring Tool for Bubble](https://www.flusk.eu/?source=forum_flusk_signature)

---

<div class="post-metadata">

**Author:** ![jpdougherty24](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jpdougherty24](https://forum.bubble.io/u/jpdougherty24)\
**Post date:** [May 20, 2024, 4:14am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/3 "2024-05-20T04:14:50Z")

</div>

Thank you so much for this response. Do you know of another way to do this while keeping the type of content to dialogue? Because I have done that previously but then I have issues editing the repeating group in a popup. I want the users to be able to edit the script and customize it. How can I allow the users to edit the script text in the repeating group if the type of content is set to text?

---

<div class="post-metadata">

**Author:** ![flusk](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/flusk/32/216042_2.png) [@flusk](https://forum.bubble.io/u/flusk)\
**Post date:** [May 20, 2024, 4:41am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/4 "2024-05-20T04:41:39Z")

</div>

Since the dialogue data is already there, why don’t you just search for dialogue data and then, do the get text’s itself:split by in each cell? This way, you can keep the type dialogue and auto bind stuff maybe. I don’t know the whole picture, so this is my best guess 🙂

> ![bdk_512x512](https://api.flusk.eu/api:-2sATD7a/forum-logo?user=huseyin) @Huseyin from Flusk | [Discover the #1 Security and Monitoring Tool for Bubble](https://www.flusk.eu/?source=forum_flusk_signature)

---

<div class="post-metadata">

**Author:** ![jpdougherty24](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jpdougherty24](https://forum.bubble.io/u/jpdougherty24)\
**Post date:** [May 20, 2024, 5:04am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/5 "2024-05-20T05:04:45Z")

</div>

We are getting so close. So I did what you said and I used split by on the text itself. It did not separate the texts in different columns but instead it replaced the (/) with commas. Did I format this correctly?

 ![Screenshot 2024-05-20 at 1.02.32 AM](https://us1.discourse-cdn.com/bubble/original/3X/a/e/ae4c5e02766312dfb2900a722026a5d17d6de824.png)  
 ![Screenshot 2024-05-20 at 1.02.53 AM](https://us1.discourse-cdn.com/bubble/original/3X/b/9/b9390703fa6573579686a60341b29f45a967e2ea.png)

---

<div class="post-metadata">

**Author:** ![msgiblin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/msgiblin/32/119904_2.png) [@msgiblin](https://forum.bubble.io/u/msgiblin)\
**Post date:** [May 20, 2024, 5:13am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/6 "2024-05-20T05:13:45Z")

</div>

Instead of setting the Split by on the text element in the cell, you set it on the Repeating Group’s source. And then in each cell, it just becomes ‘Current Cell’s Text’

---

<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:** [July 29, 2024, 3:46am UTC](https://forum.bubble.io/t/how-to-separate-data-text-into-different-repeating-group-cells/323037/7 "2024-07-29T03:46:32Z")

</div>

Closed on July 29, 2024, 3:46am UTC

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