# String from list with different separators? (for PDF naming)

**URL:** <https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063>\
**Category:** Revit\
**Tags:** archi-lab, dynamo\
**Created:** [April 16, 2018, 9:26am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063 "2018-04-16T09:26:41Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninawh94](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@ninawh94](https://forum.dynamobim.com/u/ninawh94)\
**Post date:** [April 16, 2018, 9:26am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/1 "2018-04-16T09:26:41Z")

</div>

Hi people.  
I’m very new in Dynamo so I hope you all can help me with my problem.  
I’m working on Archi-lab’s naming function and i got everything to work but I would really like to have 2 different separators (if possible)?

Below you can see an image of how it looks now.

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

---

<div class="post-metadata">

**Author:** ![CVest](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@CVest](https://forum.dynamobim.com/u/CVest)\
**Post date:** [April 16, 2018, 9:29am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/2 "2018-04-16T09:29:56Z")

</div>

What do you mean by “2 different” separators? Separator 1 when this, and Seperatur 2 when that? 🙂

---

<div class="post-metadata">

**Author:** ![ninawh94](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@ninawh94](https://forum.dynamobim.com/u/ninawh94)\
**Post date:** [April 16, 2018, 9:40am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/3 "2018-04-16T09:40:27Z")

</div>

I have 3 lists that are now put together with a “Dash”.  
List1 - List2 - List3  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/1/a123769061e651c134b64c8a7b9884aaf59f305b.png)

What i want for the last list is a Dot.  
List 1 - List2, List 3

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/a/daf2cf41a636da9365df5339b617a19de6ca2b3b.png)

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [April 16, 2018, 9:52am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/4 "2018-04-16T09:52:54Z")

</div>

Can you share your graph (.dyn file) or a sample file?

---

<div class="post-metadata">

**Author:** ![CVest](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@CVest](https://forum.dynamobim.com/u/CVest)\
**Post date:** [April 16, 2018, 9:53am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/5 "2018-04-16T09:53:48Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/7/0789075350ad070b5fd9e9152bdb85dc4c04c6c3.png)

Like this ?

---

<div class="post-metadata">

**Author:** ![ninawh94](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@ninawh94](https://forum.dynamobim.com/u/ninawh94)\
**Post date:** [April 16, 2018, 10:18am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/7 "2018-04-16T10:18:34Z")

</div>

Yes i want it to look just like that, i just dont know how to do it so everything else still work.

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [April 16, 2018, 10:30am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/9 "2018-04-16T10:30:12Z")

</div>

How about this as @CVest proposes? The outputs of your “Get Built in Parameter”,“Get Built in Parameter” and “GetParameterValueByName” is my IN1, IN2, IN3  
 ![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/5/4/54a4841995eb7170e13b1f7921a227768484ea13.png)

The build in Function “join” function in python used in the “String From List” cannot unfortunately handle multiple separators.

---

<div class="post-metadata">

**Author:** ![CVest](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@CVest](https://forum.dynamobim.com/u/CVest)\
**Post date:** [April 16, 2018, 10:38am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/10 "2018-04-16T10:38:34Z")

</div>

Just use the code block node as and type in what I suggest or what Jonathan suggest 🙂

---

<div class="post-metadata">

**Author:** ![ninawh94](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@ninawh94](https://forum.dynamobim.com/u/ninawh94)\
**Post date:** [April 16, 2018, 10:41am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/11 "2018-04-16T10:41:25Z")

</div>

This is properly a very stupid question, but how do i make the inputs “IN1, IN2, IN3” in the code block?

---

<div class="post-metadata">

**Author:** ![Jonathan.Olesen](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan.olesen/32/44242_2.png) [@Jonathan.Olesen](https://forum.dynamobim.com/u/Jonathan.Olesen)\
**Post date:** [April 16, 2018, 10:42am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/12 "2018-04-16T10:42:26Z")

</div>

That is just simple text without quotations

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [April 16, 2018, 10:42am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/13 "2018-04-16T10:42:27Z")

</div>

Just write them in the code block and they will appear as inputs.

---

<div class="post-metadata">

**Author:** ![ninawh94](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@ninawh94](https://forum.dynamobim.com/u/ninawh94)\
**Post date:** [April 16, 2018, 10:54am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/14 "2018-04-16T10:54:06Z")

</div>

Thank you so much, it really was that easy!

---

<div class="post-metadata">

**Author:** ![ninawh94](https://avatars.discourse-cdn.com/v4/letter/n/41988e/32.png) [@ninawh94](https://forum.dynamobim.com/u/ninawh94)\
**Post date:** [April 16, 2018, 10:54am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/15 "2018-04-16T10:54:52Z")

</div>

Thank you so much for the fast answer, it was very helpful!

---

<div class="post-metadata">

**Author:** ![CVest](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@CVest](https://forum.dynamobim.com/u/CVest)\
**Post date:** [April 16, 2018, 10:56am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/16 "2018-04-16T10:56:24Z")

</div>

Please mark as solution then 🙂

---

<div class="post-metadata">

**Author:** ![brgrossi](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@brgrossi](https://forum.dynamobim.com/u/brgrossi)\
**Post date:** [July 16, 2019, 1:02am UTC](https://forum.dynamobim.com/t/string-from-list-with-different-separators-for-pdf-naming/21063/17 "2019-07-16T01:02:23Z")

</div>

94/5000

To ask where to find the “String From List” node, not present in my library. Thank you
