# Display text in seperate lines (\\n)

**URL:** <https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907>\
**Category:** Ask for Help\
**Created:** [November 14, 2024, 10:12am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907 "2024-11-14T10:12:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sukhreet\_Singh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sukhreet_singh/32/78038_2.png) [@Sukhreet\_Singh](https://community.glideapps.com/u/Sukhreet_Singh)\
**Post date:** [November 14, 2024, 10:12am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/1 "2024-11-14T10:12:28Z")

</div>

I have a text field in my table. I can display it in fields or a text component. I want to display it in multiple lines.  
Like I have ABC, PQR, XYZ;  
I want:  
ABC  
PQR  
XYZ

just like replacing (,) with (\n) works in programming

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 14, 2024, 10:19am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/2 "2024-11-14T10:19:46Z")

</div>

You can use a template column to replace commas with `<br>`. Then display it with a richtext component.

---

<div class="post-metadata">

**Author:** ![Sukhreet\_Singh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sukhreet_singh/32/78038_2.png) [@Sukhreet\_Singh](https://community.glideapps.com/u/Sukhreet_Singh)\
**Post date:** [November 14, 2024, 10:42am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/3 "2024-11-14T10:42:24Z")

</div>

Replace comma with what ?

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [November 14, 2024, 10:47am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/4 "2024-11-14T10:47:18Z")

</div>

`<br>`. I have edited it, because the code does not appear if it is not formatted.  
You also replace commas with enter in the template column.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 14, 2024, 10:58am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/5 "2024-11-14T10:58:36Z")

</div>

You could create a split text column by ", " and then create a join column to join it back but instead of joining by “\n”, just type enter so it will make a line break.

---

<div class="post-metadata">

**Author:** ![Sukhreet\_Singh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/sukhreet_singh/32/78038_2.png) [@Sukhreet\_Singh](https://community.glideapps.com/u/Sukhreet_Singh)\
**Post date:** [November 14, 2024, 11:07am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/6 "2024-11-14T11:07:56Z")

</div>

This worked. Thank you sir.

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 14, 2024, 11:10am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/7 "2024-11-14T11:10:51Z")

</div>

My pleasure!

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [November 14, 2024, 11:11am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/8 "2024-11-14T11:11:50Z")

</div>

Even simpler, you could create a replace text column and replace ", " by the enter line break.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [November 21, 2024, 11:12am UTC](https://community.glideapps.com/t/display-text-in-seperate-lines-n/77907/9 "2024-11-21T11:12:45Z")

</div>

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