# Convert String array to int array

**URL:** <https://forum.uipath.com/t/convert-string-array-to-int-array/230272>\
**Category:** Help\
**Tags:** activities, system\
**Created:** [June 11, 2020, 6:59am UTC](https://forum.uipath.com/t/convert-string-array-to-int-array/230272 "2020-06-11T06:59:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sweety\_Girl](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sweety_girl/32/63415_2.png) [@Sweety\_Girl](https://forum.uipath.com/u/Sweety_Girl)\
**Post date:** [June 11, 2020, 6:59am UTC](https://forum.uipath.com/t/convert-string-array-to-int-array/230272/1 "2020-06-11T06:59:38Z")

</div>

how to convert String array to int array

---

<div class="post-metadata">

**Author:** ![samir](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/samir/32/84380_2.png) [@samir](https://forum.uipath.com/u/samir)\
**Post date:** [June 11, 2020, 7:12am UTC](https://forum.uipath.com/t/convert-string-array-to-int-array/230272/2 "2020-06-11T07:12:07Z")

</div>

Hi @Sweety_Girl,

Use this in assign  
`IntArr = StrArr.Select(Function (p) cint(p)).toArray`

---

<div class="post-metadata">

**Author:** ![Sweety\_Girl](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sweety_girl/32/63415_2.png) [@Sweety\_Girl](https://forum.uipath.com/u/Sweety_Girl)\
**Post date:** [June 11, 2020, 7:23am UTC](https://forum.uipath.com/t/convert-string-array-to-int-array/230272/3 "2020-06-11T07:23:19Z")

</div>

Thanks, It worked!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [June 14, 2020, 7:23am UTC](https://forum.uipath.com/t/convert-string-array-to-int-array/230272/4 "2020-06-14T07:23:22Z")

</div>

Closed on June 14, 2020, 7:23am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
