Handlebars Helpers
Concat
Joins text and substituted values into a single string.
The concat helper returns one string made from each value passed to the helper. Use it when a substituted value needs to be combined with static text inside a URL, message, filename, identifier, or task parameter.
Uses
- Use to build a URL from fixed text and action context values
- Use to combine multiple substituted values into one string
- Use when value replacement substitution cannot be used because the value is only part of the final text
Usage
Helper name : concat
eg.
{{concat "https://example.com/" stub.stubref "?value=" stub.data.value}}
Examples
URL Example
Example definition:
Action context:
Substituted definition
Inline String Example
Example definition:
Substituted definition