To store for each Output in array of strings

As I get the output from for each as a string and i need to store the values in array of string variable. please help.

we would suggest to use the List type instead of array, as we can dynamicly add values to the list. Later we can convert thelist to an array if array is mandatory needed

depending to your source we maybe can do it also directly with a LINQ

what is your collection that you are passing to the for each?

1 Like

I am working on extracting data from web page and store it into the datatable.
Currently I am having the screen scraped data. Using for loop and regex I am getting string values.
I need to store the string values in an array so that I can use Add data row activity to add a new row in the datatable

can you share some more details (regex, input string, datatable structures) thanks

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