Convert String Array to Integer Array UiPath

I am trying to converting string array to int array
“array.ConvertAll( stringArrayValues,function(str) cint(str.trim))”

This give me “System.String” first and then give me the first value from array
is there any issue with this ?

1 Like

@muneeb

Please check below thread to do this.

1 Like

Hi @muneeb

In addition to @lakshman shared to us ,Also kindly read this article it might be helpful to you.

cheers :smiley:

Happy learning :smiley:

4 Likes

@muneeb
Give a try on
yourStringArr.Select(Function (s) cint(s.trim)).toArray