Merging Strings on New Lines
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Merging Strings on New Lines

  • Dark
    Light

Article summary

Example Lab Article
While 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

Version6.10.2
Root FolderExample Lab - Merge List of Strings to Single String on New Line
Modules None
DependenciesNone

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



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 article.





Was this article helpful?