Manohar1
(Adicherla Manohar)
1
Hi,
I am using Get text activity in For each loop at each loop a new text will be stored into the result but am unable to store it in a array
Getting error like this:
Cannot convert array of string from system.string
please provide a solution
Thanks & Regards,
A Manohar
Array we can use if we know the size.
In your case it is dynamic.
So I recommend to store into List.
Create a new List. List<String> lst = new List<String>
Every time you loop, add an item to the list.
lst.Add(stringValue)
If you want you can convert list to array. lst.ToArray
1 Like
lakshman
(Ganta lakshman)
3
@Manohar1
Yes you can. Create one collection variable of type string and then add result to that collection using Add to Collection activity.
1 Like
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.