# Question - Concatenate 2 variables

**URL:** <https://community.brightpattern.com/t/question-concatenate-2-variables/91>\
**Category:** Product Q&A\
**Tags:** function, variable, expression\
**Created:** [October 7, 2020, 8:40pm UTC](https://community.brightpattern.com/t/question-concatenate-2-variables/91 "2020-10-07T20:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![claudia.meiners](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@claudia.meiners](https://community.brightpattern.com/u/claudia.meiners)\
**Post date:** [October 7, 2020, 8:40pm UTC](https://community.brightpattern.com/t/question-concatenate-2-variables/91/1 "2020-10-07T20:40:03Z")

</div>

Hello,  
Is there a built in function that i can use to concatenate 2 variables. ex. var1 contains “0”, while var2 contains “456789”, i want my var3 to show = “0456789”. i’ve tried using the concatenate command: =concat(“$(var1)”+” “+”$(var2)”) but that did not work for me.

---

<div class="post-metadata">

**Author:** ![greg.luttbrightpatte](https://avatars.discourse-cdn.com/v4/letter/g/a6a055/32.png) [@greg.luttbrightpatte](https://community.brightpattern.com/u/greg.luttbrightpatte)\
**Post date:** [October 7, 2020, 8:41pm UTC](https://community.brightpattern.com/t/question-concatenate-2-variables/91/2 "2020-10-07T20:41:48Z")

</div>

We have a lot of built-in functions as well as several string expression which can be found here:

[https://help.brightpattern.com/5.3:Scenario-builder-reference-guide/Reference/VariablesandExpressions/StringExpressions](https://help.brightpattern.com/5.3:Scenario-builder-reference-guide/Reference/VariablesandExpressions/StringExpressions)

> - Strings can be concatenated; that is, strings can be linked together as in a chain (e.g., _“string 1”+” “+”string2”_ produces _“string1 string2”_ ).

[https://help.brightpattern.com/5.3:Scenario-builder-reference-guide/Reference/VariablesandExpressions/Built-inFunctions](https://help.brightpattern.com/5.3:Scenario-builder-reference-guide/Reference/VariablesandExpressions/Built-inFunctions)

> ### tostring(integer)
> 
> This function converts an integer to a string.
