Convert Int32[] to String{}

Hello Everyone,

Anyone can help me to convert the Array of Integer32 to the Array of String?

Data: int[5] { 1, 2, 3, 4, 5 }
Result: string[5] { “1”, “2”, “3”, “4”, “5” }

Thanks in advanced, Regards,
Brian

Hi @henokhbrian

Dim intArray() As Integer = {1, 2, 3,4,5}
Dim strArray() As String = intArray.Select(Function(x) x.ToString()).ToArray()

Hope this will be helpful. Thank you

3 Likes

Yes sir it’s worked. Thank you very much :100:

1 Like

Glad to hear this. Happy Automation with UiPath :slight_smile:

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