Hello everyone,
Can anyone help me into this, i have a array datatype, in which i want, if array length is 3 then it will give the value as nam1=arr(0),name2=arr(1),name3=arr(2), but if arr length is greater than 3, then last all arr values should append in one variable like name3=arr(2)+… all left elements.
All the above can be achieved using assign statement.
In the String.Join I have used , as the separator between the strings - You can use your own may be a space, or empty or semicolon as required.
Join will help you in joining the entire elements in the collection & Skip will just ignore the number of items you pass as an argument, In the above case, I have skipped two items.