OriginalPostID-88036
Discussion posts and replies are publicly visible
How to add an space between them, like the output looks like {"a 1", "b 2", "c 3“}
load( local!arr1: {"A","B","C","D"}, local!arr2: {"E","F","G","H"}, local!totalCount: length(local!arr1), local!countArray: enumerate(local!totalCount) +1, a!forEach( items: local!countArray, expression: local!arr1[fv!index] &" " & local!arr2[fv!index] ))
Above solution will give you the output as List of Text String - 4 items as {"A E", "B F", "C G", "D H" }.
Side note, this thread was started well before a!forEach() was available (which came out in 17.2 originally). The solution using a!forEach (see Ravi's suggestion above) is quite easy now; previously it required a complex arrangement of the apply(), concat() and merge() functions.