UiPath - Initialize Array and Assign value to Array

uipath initialize string array uipath initialize array with values
UiPath - Initialize Array and Assign Value to Array

During developing automation solutions, we need to perform a lot of data manipulation and using arrays is very frequent. We need to learn about initialize empty array in UiPath and initialize array with values in UiPath.

Let’s understand with example 😃

Initialize empty string array in UiPath

dataArray = New String(){}

uipath-initialize-array-assign-dataArray
Assign - Empty String Array to dataArray

Initialize array with values in UiPath

dataArray = New String(){"value1", "value2", "value3"}

uipath-initialize-array-with-values-assign-dataArray
Assign - String Array with values to dataArray

Comments

Popular posts from this blog

UiPath - Convert String to DateTime

UiPath - Initialize List and Assign Values to List