1. Handlebars Helpers
  2. Concat

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

Parameter Description
1...n Values to join into a single text

eg. {{concat "https://example.com/" stub.stubref "?value=" stub.data.value}}

Examples

URL Example

Example definition:

loading...

Action context:

loading...

Substituted definition

loading...

Inline String Example

Example definition:

loading...

Substituted definition

loading...