String with new line characters
Comments
-
[font=Calibri, sans-serif]I am trying to join a list of strings into a single string with a newline character as the separator, but I can’t figure out how to do so. I am only able to strip or split by new line, but can’t figure out how to combine the strings with newlines. Any help would be appreciated.[/font]
-
[font=Roboto, Arial, Helvetica, sans-serif]The built-in flow Merge String List to Single String cannot add newline characters as a separator, as its separator input is read literally. It is possible, however, to do this by iterating through the list of strings with a For Each loop and adding the current string to a separate string using the merge text editor or an NVelocity step. I have built a small demo project detailing this process. Feel free to import, review, or modify it at your convenience.[/font]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions