--- title: "Concat strings" slug: "core-concat-string-resolver" updated: 2026-04-16T12:29:38Z published: 2026-04-16T12:29:38Z canonical: "docs.lobstersoftware.com/core-concat-string-resolver" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Concat strings > [!NOTE] > Value resolver – Abstract > > **Purpose:** Concatenates an arbitrary number of *substrings*, which can be defined by *direct input* or via value resolvers. > > > [!TIP] > > Tooltip > > > > - **Usage**: The *substrings* defined via a list of parameters are concatenated directly (without separators) in the return value. The *input value* is only relevant as a data source for defining value resolvers to define *substrings.* > > - **Parameter**: A repeatable element allows the definition of the *substrings* to be concatenated either by direct input (as static text) or via value resolvers interpreted at runtime. > > - **NOTE:** Direct input is via a resizable text field that accepts multi-line text. The *substring* is not trimmed, so spaces, line breaks, etc. appear in the return value as entered. ![images/download/attachments/201670356/image-2025-4-24_11-39-12-version-1-modificationdate-1745487552707-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-24_11-39-12-version-1-modificationdate-1745487552707-api-v2.png) The [Concat strings](/v1/docs/en/core-concat-string-resolver) value resolver concatenates two or more *substrings* defined by *direct input* – i.e. as static text (see [Static values](/v1/docs/en/core-literal-value-resolver)) – or by value resolvers. The value resolver does not expect an *input value*. However, the *input value* can be accessed via value resolvers to define *substrings*. ## Configuration The *substrings* to concatenate are defined by a [Repeatable element](/v1/docs/en/fre-duplicate-element-container-vo), which features two entries per default, without specifying a discrete *substring*. The value resolver does not contain any configurations for *substrings* by default. - Clicking the ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/add.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/add(50).svg) icon adds a new instance for configuring a *substring* (below the current instance, if necessary). - Clicking the ![images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/forbidden.svg](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/forbidden(22).svg) icon removes the configuration for the current *substring*. **NOTE:** Removing an entry is only possible, if at least two entries remain. - It is not required to define a *substring* for each entry. Entries *without* a configuration – or "no value" (`$null`) assigned – have no impact on the return value. | In the screenshot to the right, the [Concat strings](/v1/docs/en/core-concat-string-resolver) value resolver is used in concatenation with a static text value resolver that provides the string `SCMU3216083 WHT/BLU` 40ft as *input value.* The [Concat strings](/v1/docs/en/core-concat-string-resolver) value resolver demonstrates both variants for defining *substrings*: - The first *substring* specifies a static text (`BIC:`) specified by direct input. - The second *substring* is defined by a [Substring](/v1/docs/en/core-sub-string-resolver) value resolver that accesses the *input value* of the [Concat strings](/v1/docs/en/core-concat-string-resolver) value resolver. **NOTE:** Clicking on the small gray arrow at the bottom left of the window for direct input switches to the configuration view via a value resolver. | ![images/download/attachments/201670356/image-2024-9-12_8-21-10-version-1-modificationdate-1745486558311-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-9-12_8-21-10-version-1-modificationdate-1745486558311-api-v2.png) | | --- | --- | **IMPORTANT:** If the return value for a *substring* is not of type `String`, the string image of the return value is used instead. ## Example | In the text of a message (see [Show alert (Popup)](/v1/docs/en/core-popup-actor)), two sections from a given text are concatenated. On the screen shot on the right, for demonstration purposes, the *input value* (as in the example above) as static text (`SCMU3216083 WHT/BLU 40ft`) is provided via concatenation. The message should reflect on the one hand the BIC code of the container (the first 11 characters from the *input value*) and on the other hand the size of the container (the last 4 characters from the *input value*). Labels or semigraphics are "interspersed" over statically defined *substrings*: - The first *substring* defines (as above) static text (`BIC:`) as a label. - The second *substring* extracts (as above) the first 11 characters from the *input value* via [Substring](/v1/docs/en/core-sub-string-resolver) value resolver. - The third *substring* labels the size of the container by static text, also including a carriage return and semigraphic characters so that the "SIZE:" appears as a detail in a tree structure below the "BIC:". - The fourth *substring* extracts the last 4 characters from the *input value* by a [Substring](/v1/docs/en/core-sub-string-resolver) value resolver. | ![images/download/attachments/201670356/image-2024-9-12_9-51-57-version-1-modificationdate-1745486558297-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-9-12_9-51-57-version-1-modificationdate-1745486558297-api-v2.png) | | --- | --- | | Runtime example: **NOTE:** Instead of the static *input value*, another "data source" would of course have to be set up in a practical application. | ![images/download/attachments/201670356/image-2025-4-24_11-36-43-version-1-modificationdate-1745487403064-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2025-4-24_11-36-43-version-1-modificationdate-1745487403064-api-v2.png) |