Add string to a empty array

Hello is it possible to add strings from Get text activity into a empty array for later use?

1 Like

Sure. You could use Array.Resize()

To call Array.Resize() you will need to use “Invoke Method” activity

Cheers

1 Like

@langsem

Create one list of string variable and then use Add to Collection activity and pass that output of Get Text activity and list variable. Then it will add values to the list.

5 Likes

Right. This would be an easier approach :slight_smile:
Cheers

1 Like

yes you can pass the value like these.

Create an arrayvariable and if you have a fixed size and do these.
arrVariable(0)=“Your String”
arrVariable(1)=“Your String”

cheers :smiley:

Happy learning :smiley:

1 Like

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