About this article
This article explains what the Concat() function is and provide examples of how it can be used with the binding syntax in smart templates.
Prerequisites
|
What is the Concat() function?
Concat() is a function that joins two pieces of text together.
Concat() logic
Syntax | {{Concat(Value1, Value2)}} |
Input | text |
Output | Concatenated text |
|
Concat() function examples
Example 1
Using the Concat() function to join two pieces of plain text.
|
Binding | {{Concat("Hello", "World")}} |
Output | "HelloWorld" |
Example 2
Using the Concat() function to join two values originating from the user profile.
Syntax | {{Concat(UserProfile.Team, UserProfile.Initials)}} |
Input | Team = "HR", Initials = "JD" |
Output | "HRJD" |
Example 3
Using the Concat() function to join two values originating from "Subject" and "Title" questions originating from the response form.
Syntax | {{Concat(Form.Subject, Form.Title)}} |
Input | Subject = "Hello", Title = "World" |
Output | "HelloWorld" |
Related articles
Comments
0 comments
Article is closed for comments.