Hi… i have string variable:
str = “ABCD|A1B2|C1C2|1234|4A3B”
i split this string with :
arr= str.Split("|"c)
result is {“ABCD”,“A1B2”,“C1C2”,“1234”,“4A3B”}
expect result is {“C1C2”,“1234”,“4A3B”}
Hi… i have string variable:
str = “ABCD|A1B2|C1C2|1234|4A3B”
i split this string with :
arr= str.Split("|"c)
result is {“ABCD”,“A1B2”,“C1C2”,“1234”,“4A3B”}
expect result is {“C1C2”,“1234”,“4A3B”}
Hi,
Can you try the following expression?
arrStr.Skip(arrStr.Length-3).Take(3).ToArray()
Regards,
its work thankyou
thankyou
a little bit fuzzy approach
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.