Attached is a screenshot of a get text activity that is storing it as text, but I want to be able to cycle through the list as individual strings on this list. I’ve tried split but doesn’t seem to work. I’ve also tried to just change the variable type to array of string and then the For Each activity won’t work. Any ideas?
You try this below expression
Using Assign activity
LHS → Create an variable
RHS → Split(Inputvariable,Environment.Newline) pass this in for each
Inputvariable is in string format
Regards
Gokul
1 Like
Hi @michael.twining,
Can you please show, what you have used in split so that we can have a check, also try the solution provided by @Gokul001.
thanks
After Get Text Activity
It will return all the values present in the screenshot
After using the For each Activity
Split(Inputvariable,Environment.Newline)
It will iterated through all the values
Regards
Gokul
2 Likes
YES!!! That worked, thank you. Environment.NewLine was new to me.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.