# How to use double array forEach?

**URL:** <https://forum.uipath.com/t/how-to-use-double-array-foreach/201490>\
**Category:** Studio\
**Tags:** question, system, activities\
**Created:** [March 10, 2020, 11:29am UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490 "2020-03-10T11:29:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cee2](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cee2](https://forum.uipath.com/u/cee2)\
**Post date:** [March 10, 2020, 11:29am UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490/1 "2020-03-10T11:29:50Z")

</div>

Sech - \> {({“111”,“11111”}),({“222”,“22222”}),({“333”,“33333”})}

For Each  
ForEach **i** In **Sech**

**output**  
111,1111  
222,2222  
333,3333

how to use forEach ?

---

<div class="post-metadata">

**Author:** ![Nithin\_P](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nithin_p/32/18869_2.png) [@Nithin\_P](https://forum.uipath.com/u/Nithin_P)\
**Post date:** [March 10, 2020, 11:36am UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490/2 "2020-03-10T11:36:41Z")

</div>

[Sequence.xaml](https://forum.uipath.com/uploads/short-url/rSlmME1TlX9qT9s8zNYFG6fBqWL.xaml) (5.8 KB)

Try this out.

Regards,  
Nithin

---

<div class="post-metadata">

**Author:** ![cee2](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cee2](https://forum.uipath.com/u/cee2)\
**Post date:** [March 10, 2020, 12:03pm UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490/4 "2020-03-10T12:03:20Z")

</div>

thanks 🙂 ! but i want to

ex) sech(0)(0) +" , " + sech(0)(1)  
sech(1)(0) +" , " + sech(1)(1)  
sech(2)(0) +" , " + sech(2)(1)

“111” “11111”

* * *

“222” “22222”

* * *

“333” “33333”

* * *

i use variable count **cnt**

sech(cnt)(0) sech(cnt)(1)

Thank you for your help and I will wait for a better answer 🙂

---

<div class="post-metadata">

**Author:** ![Nithin\_P](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nithin_p/32/18869_2.png) [@Nithin\_P](https://forum.uipath.com/u/Nithin_P)\
**Post date:** [March 10, 2020, 12:09pm UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490/5 "2020-03-10T12:09:03Z")

</div>

If it’s always going to be 2 items in the inner array.

[Sequence.xaml](https://forum.uipath.com/uploads/short-url/pEndcdR4r7v6rRma43VigaR4LPB.xaml) (7.0 KB)

Regards,  
Nithin

---

<div class="post-metadata">

**Author:** ![Nithin\_P](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nithin_p/32/18869_2.png) [@Nithin\_P](https://forum.uipath.com/u/Nithin_P)\
**Post date:** [March 10, 2020, 12:09pm UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490/6 "2020-03-10T12:09:57Z")

</div>

> [@cee2](#):
>
> I will wait for a better answer

I can stop replying 🙂 but its very offensive on your part.

Regards,  
Nithin

---

<div class="post-metadata">

**Author:** ![cee2](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cee2](https://forum.uipath.com/u/cee2)\
**Post date:** [March 10, 2020, 12:19pm UTC](https://forum.uipath.com/t/how-to-use-double-array-foreach/201490/7 "2020-03-10T12:19:20Z")

</div>

Sorry if you’re feeling bad. thats mean I was asking you.  
I’m not good at English and my question was too brief.  
It was a very helpful answer for me. thank u 🙂
