This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
action:Set_Variable_to_Text [2019/07/09 04:46] peternlewis |
action:Set_Variable_to_Text [2023/09/15 05:44] (current) peternlewis |
||
---|---|---|---|
Line 6: | Line 6: | ||
{{:action:set-variable-text-token-popup.png?nolink|}} | {{:action:set-variable-text-token-popup.png?nolink|}} | ||
+ | |||
+ | You can (v11.0+) set a specific array entry within the action. You can delete the entry by setting it to `%Delete%`. | ||
===== Examples ===== | ===== Examples ===== | ||
Line 33: | Line 35: | ||
You can append directly to a variable with the //Append// variant of the action: | You can append directly to a variable with the //Append// variant of the action: | ||
- | {{append-variable-with-text.png?nolink&512x157 | Append to Variable }} | + | {{append-variable-with-text.png?nolink&512x157| Append to Variable }} |
or equivalently using text tokens to expand the variable: | or equivalently using text tokens to expand the variable: | ||
- | {{set-append-variable-with-text.png?nolink&512x157 | Set Append to Variable }} | + | {{set-append-variable-with-text.png?nolink&512x157| Set Append to Variable }} |
+ | |||
+ | ==== Set Second Line of Variable ==== | ||
+ | |||
+ | You can specify an array entry of the variable to set. By default, entries are comma separated, but you can specify an specific separator after the closing square bracket (`]`), | ||
+ | |||
+ | {{ set-second-line-of-variable-example.png?nolink&512x310 | Set Second Line of Variable Example }} | ||
===== Setup ===== | ===== Setup ===== |