UiPath - Convert List to Array
UiPath- Convert List to Array |
During development, we often need to convert one datatype to another in order to proceed for further processing. Converting List to array is also no exception.
Let’s understand with example
Create required variables/arguments
in_StringList
out_StringArray
Create Variables/Arguments |
Initialize List
in_StringList = New List(Of String)(New String(){"value1", "value2"})
Initialize List |
Use code to convert List to Array
out_StringArray = in_StringList.ToArray
Convert List to Array in UiPath |
Comments
Post a Comment