I’ve gotten it to concatenate from a hard coded index number like 5 or 8,
but how do I get it to concatenate for each list in a list?
here is a solution
otherwise you can put a for loop by scanning your 1st index
edit:
code block:
Ind;
K;
result=[];
[Imperative]
{
for (i in 0..(K-1))
{
result[i]=Ind[i][0]+"."
+Ind[i][1]+"."
+Ind[i][2]+"."
+Ind[i][3]+"."
+Ind[i][4];
}
return result;
};
cordially
christian.stan
In this case you actually want to use String.Join
. String.Concat
joins a list of strings. String.Join
joins a list of strings with a given separator.
5 Likes
Hello, much more efficient
cordially
christian.stan