Hello all,
I have a table where I need to skip first and last child from find children elements.
I use array.Skip(1) method to skip first child, but how could I skip the last one?
Thanks in advance!
Hello all,
I have a table where I need to skip first and last child from find children elements.
I use array.Skip(1) method to skip first child, but how could I skip the last one?
Thanks in advance!
array.Skip(array.Count-1)
Great!
I have one more question - since I use For Each activity to loop through find children elements, how should I set Values within For Each activity?
I tried array.Skip(1, array.Count-1), but that doesn’t work
Thanks @lakshman
@bp777
its a typical skip take case
array.Skip(1).Take(array.Count-2) optional use a toArray afterwards
Thanks @ppr!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.