I need to have a list of strings, and do some actions on each of thestrings. This seems like a job for the List Iterator task with the listin a variable. But I’m having trouble getting it to work, because thelist iterator iterates by lines, and I can’t figure out how to use SetVariable to create a value with multiple lines. If I try hittingEnter while in the “New Value” field, it closes the Set Variable popup.I’ve tried putting in \n, but that doesn’t work.
Any suggestions on how can I do this?
Thanks,
Keith Hearn
Hi Keith,
You can use the Append to Variable action, which lets you append one or more new lines to a variable value.
Regards,
Angus
Angus,
Thanks, this works. It woul dbe nice if there were a way to do it in just one step, but at least I’m able to get it done.
Keith
Hi Keith,
The Append to Variable actually lets you insert newlines into the text field to append, so you should be able to do it in just a single step.
- Angus
Keith, perhaps what you’re missing is that in any field, you can press F2 to get a field editor window. You can type new lines in there.
Steve
Ahhh, I didn’t know that. I just gave it a try and it works like a charm. Thank you for the illumination.
Keith