--- title: "Merging Strings on New Lines" slug: "merging-strings-on-new-lines" updated: 2021-03-12T15:05:34Z published: 2021-03-12T15:07:29Z canonical: "documentation.decisions.com/merging-strings-on-new-lines" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Merging Strings on New Lines Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 6.10.2 | | **Root Folder** | Example Lab - Merge List of Strings to Single String on New Line | | **Modules** | None | | **Dependencies** | None | This Example Lab demonstrates how to take a list of Strings, and merge them on new lines in a single String. It then shows that single String on a Form. --- ## Explanation This flow works by taking in a List of Strings that will be merged into a single String with the items on new lines. This works by using the For Each Step to iterate through all of the Strings in the list. As each iteration occurs the Flow will add the current string to a separate string using the **Merge Text Editor** on the **Create Data Step**. When viewed on the form, the single string appears to show a list of items, but it is a single String being inputted into the form and not the String list. Reference Articles ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-850(2).png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-625.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.10.2 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab[MergeStringListToSingleString].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BMergeStringListToSingleString%5D.zip) ---