# Displaying data with multiple rows, in a template

**URL:** <https://community.hubspot.com/t/displaying-data-with-multiple-rows-in-a-template/91107>\
**Category:** APIs & Integrations\
**Tags:** companies, email-deliverability\
**Created:** [October 4, 2023, 5:06pm UTC](https://community.hubspot.com/t/displaying-data-with-multiple-rows-in-a-template/91107 "2023-10-04T17:06:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 5, 2023, 8:29pm UTC](https://community.hubspot.com/t/displaying-data-with-multiple-rows-in-a-template/91107/2 "2023-10-05T20:29:54Z")

</div>

Hey, @CraigWish 👋

Have you looked into using the HubL filter `[split](https://developers.hubspot.com/docs/cms/hubl/filters#split)`? And using a for loop? The one issue I see is you are not using a separator for your values. For that, I do not have a filter option. Here’s a quick simple example assuming commas were used:

```lia-code-sample
{% set topics = "Topic one,Topic two,Topic three,Topic four"|split(',') %}
{% for topic in topics %}
 {{ topic }}<br/>
{% endfor %}

```

Hey, @Anton @Stephanie-OG, is there a better or different way you’d handle this type of challenge?

Best,

Jaycee

---

_[View the full topic](https://community.hubspot.com/t/displaying-data-with-multiple-rows-in-a-template/91107)._
