Int32 array to String conversion

Hi, i’m new in uipath and i have this case:

I have this Int32 array {17,45,65,2,7,8,4} and i need convert this to String“17 45 65 2 7 8 4”. Please help me.

Hy @Hector_Silva ,

Just use a for each loop through the array:
Use item.string to convert to a string, ok?


Use an assign activity, create a string variable, for example:

YourString = String.Concat(YourIntArray.Select(Function(n) Convert.ToString(n)))

Then test it using message box or write line activity and parse YourString. Let me know if that helps.

Thank`s a lot my friend

1 Like

It’s work too. Thanks friend

Hy @Hector_Silva,

Very glad I could help you! Please mark my answer as final solution, thanks a lot!!


Hi @Hector_Silva,

Check this single solution

strVar = String.Join(" ",arrInt)

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