# Concatenate list of strings

**URL:** <https://forum.dynamobim.com/t/concatenate-list-of-strings/10416>\
**Category:** Lists-Logic\
**Created:** [March 17, 2017, 8:00pm UTC](https://forum.dynamobim.com/t/concatenate-list-of-strings/10416 "2017-03-17T20:00:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveP](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@DaveP](https://forum.dynamobim.com/u/DaveP)\
**Post date:** [March 17, 2017, 8:00pm UTC](https://forum.dynamobim.com/t/concatenate-list-of-strings/10416/1 "2017-03-17T20:00:44Z")

</div>

I’m writing a Custom Node that will take as input a number in Decimal Feet and output it as Feet, Inches and Fraction.  
I got everything to work, but then I decided I needed to make it accept a List of Decimal Feet instead of a single value.  
Everything is working up until the very last node where I put it all together.  
At first, I was using String.Concat which doesn’t like lists.  
So I replace those with a simple Code Block str1+str2+str3+str4  
The should return a list of 4 concatenated strings, but I’m getting 4 copies of the first value.  
I don’t see anything wrong with this, but maybe I’m too close  
Can anyone see my error?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/7/c72c8792d9ecb7c782b225114878bb3f2db8427c.PNG)

---

<div class="post-metadata">

**Author:** ![DaveP](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@DaveP](https://forum.dynamobim.com/u/DaveP)\
**Post date:** [March 17, 2017, 8:24pm UTC](https://forum.dynamobim.com/t/concatenate-list-of-strings/10416/2 "2017-03-17T20:24:30Z")

</div>

Changed my Code Block to  
str1\<1\>+str2\<1\>+str3\<1\>+str4\<1\>;  
and it seems to work, but I really don’t understand why.  
I thought I had it working the first time.  
(OK, maybe it was the 12th time, but it did work once without the \<1\>)
