# Combining lists with seperator

**URL:** <https://forum.dynamobim.com/t/combining-lists-with-seperator/96258>\
**Category:** Revit\
**Created:** [December 11, 2023, 10:30am UTC](https://forum.dynamobim.com/t/combining-lists-with-seperator/96258 "2023-12-11T10:30:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kleinnagelvoort](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kleinnagelvoort](https://forum.dynamobim.com/u/kleinnagelvoort)\
**Post date:** [December 11, 2023, 10:30am UTC](https://forum.dynamobim.com/t/combining-lists-with-seperator/96258/1 "2023-12-11T10:30:29Z")

</div>

Hey,

I’ve got two lists with values from filtered elements. What I’m trying to do is place the values from list 1 after the values of list 0 in the same order they’re in (in this example, from 0 to 3). However, the number of elements, like parameter values, can vary from project to project. Can someone assist me with this?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/5/f52d00e1a93d7bf7c72f069193215b3d909605a2.png)

---

<div class="post-metadata">

**Author:** ![kleinnagelvoort](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kleinnagelvoort](https://forum.dynamobim.com/u/kleinnagelvoort)\
**Post date:** [December 11, 2023, 10:43am UTC](https://forum.dynamobim.com/t/combining-lists-with-seperator/96258/2 "2023-12-11T10:43:45Z")

</div>

I think I found the correct way to address this issue. By utilizing the flatten node and using string.concat on the combine node, I achieved the desired result. For anyone else encountering this problem, I’ve attached a screenshot.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/9/897eaebcf59067e17c7388df11584880d006d621.png)

---

<div class="post-metadata">

**Author:** ![NIRMAL](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nirmal/32/150135_2.png) [@NIRMAL](https://forum.dynamobim.com/u/NIRMAL)\
**Post date:** [December 11, 2023, 10:50am UTC](https://forum.dynamobim.com/t/combining-lists-with-seperator/96258/3 "2023-12-11T10:50:49Z")

</div>

I think it can be achieved as simple as this command is: **a+b** , if everything is string

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27653f2d80a63a75cc4f5c18525ca9427bd6735d.png)
