Alternate position

[How to get odd or even position variables from array of string]

please share some sample values from your string array

@devendra_bhardwaj1

Please try this

oddposition - ArrVar.Where(function(x) (Array.IndexOf(ArrVar,x) MOD 2).equals(0)).ToArray

EvenPosition - ArrVar.Where(function(x) Not (Array.IndexOf(ArrVar,x) MOD 2).equals(0)).ToArray