Change List
Adds an item to a list, inserts or replaces one at a position, or removes items. A list is text with one item per line, e.g. from Split Text or List Files; positions count from 1, and -1 is the last.
In the editor, press Space on the canvas to add a step, then open Conditions > Lists, or type its name. In Simple mode it's under Show all, and search finds it.
Settings
List
A list, one item per lineOne item per line.
Action
A choiceItem
TextThe item to add, or the one to remove. A line break in it becomes a space.
Position
A screen position1 = first, 2 = second, -1 = last.
Match case
On or off More optionsOff: Apple and apple count as the same item.
Outputs
Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.
| Output | Gives | What it is |
|---|---|---|
| List | A list, one item per line | The changed list, one item per line. |
| Count | A count | How many items it has now. |
| Changed | Yes or no | False when nothing changed, e.g. no item at that position. |