hi I am trying to combine this array list of File as attachment’s
but my code is not working
any advise?
thank you in advance
-Vincent
hi I am trying to combine this array list of File as attachment’s
but my code is not working
any advise?
thank you in advance
-Vincent
Hi
First let’s combine all the array to one array with concat like this and then use that in string.Join method
String.Join(“”, arr.Concat(arr2).Concat(arr3).Concat(arr4).ToArray)
Cheers @Vincent_Nuestro
When a string is needed
when a string array is needed:
arr1.concat(arr2).concat(arr3).toArray
or working with selectMany method for the prototype:
Working with variables as mentioned by @Yoichi
Hi,
FYI, another solution:
{arr1,arr2,arr3}.SelectMany(Function(a) a).ToArray()
Regards,
hi @Palaniyappan
i got an error
the argument was configured to a string array, the assigned value is a string. Here is the mismatch
Hi
Pls change the type of that argument as STRING
We are using String.Join method which will give us string as output
Cheers @Vincent_Nuestro
Or if you want to pass that as array of string
Then have this alone in the expression
arr.Concat(arr2).Concat(arr3).Concat(arr4).ToArray
Cheers @Vincent_Nuestro
Is it resolved @Vincent_Nuestro
hi @Palaniyappan thank you so much,
it works now
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.