Skip to main content
Nintex Community Menu Bar
Solved

how to create a string from a collection

  • Jan 7, 2024 12:52 PM UTC
  • 3 replies
  • 375 views
  • Translate All

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

 

View original

3 replies

Garrett
Forum|alt.badge.img+16
  • Scout
  • Answer
  • Jan 7, 2024 1:35 PM UTC

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

 

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Jan 7, 2024 11:34 PM UTC

Hi @ilyak,

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

Translate

Forum|alt.badge.img+1
  • Rookie
  • Jan 28, 2025 12:56 AM UTC

​@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!!!

Translate