String with new line characters

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]

Sign In or Register to comment.