Skip to main content
Nintex Community Menu Bar
Solved

how to create a string from a collection

  • January 7, 2024
  • 3 replies
  • 363 views

Forum|alt.badge.img+1

I have a collection of strings and I want to make a sentence to make sense when sending an email. 

Best answer by Garrett

Hi @ilyak 

Where are you stuck at and what have you tried?

 

  1. Are you able to use LOOPS to extract each item from the collection?
    Collection1 = [“one”, “two”, “three”, ”four”, “five”]
    tmpStr => get item from collection
  2. Are you able to concatenate strings and variables?
    Msg1 = Msg1 + tmpStr 

 

Then you should be able to create the following string Msg1.

one two three four five

 

3 replies

Garrett
Forum|alt.badge.img+16
  • Scout
  • Answer
  • January 7, 2024

Hi @ilyak 

Where are you stuck at and what have you tried?

 

  1. Are you able to use LOOPS to extract each item from the collection?
    Collection1 = [“one”, “two”, “three”, ”four”, “five”]
    tmpStr => get item from collection
  2. Are you able to concatenate strings and variables?
    Msg1 = Msg1 + tmpStr 

 

Then you should be able to create the following string Msg1.

one two three four five

 


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • January 7, 2024

Hi @ilyak,

The easiest way to achieve this solution is to use the Join items in collection action.


Forum|alt.badge.img+1
  • Rookie
  • January 28, 2025

​@SimonMuntz -- nice running into you! Of course, you do not remember me, and I don’t expect you to :) Thanks. That tip about using join collection helped...A LOT!!!