Hi all,
I define an array variable with the value like
["AMM2SZH","AMM2SZH"]
I want to join the two elements together by using JOIN with some suffix characters, see pic
What I expect is the output should be "AMM2SZH;AMM2SZH;", but it looks like the JOIN doesn't loop to the last element, so there's no ";" at the end of the string.
How do fulfill my requirement by using JOIN? Or other function?
Hey @Mayer
You can use append to string variable for this.
Something like this:
Initialize two variables. One array to keep your data. Other one string.
After this use apply to each loop and pass the above array variable in that. And then use append to string variable in that with a semi colon at the end.
At the end just used a compose to pass the string variable to show you the output:
Final Output:
If this gives you the solution you were looking for, you can accept it as a solution.
And if you liked the explanation, you can give a kudo/thumbs up the post. It really helps. Thanks.