SplitIntoSetVarList: Split List Into SetVar
Tag: SplitIntoSetVarList
The SplitIntoSetVarList function generates a list of SetVar from text values.
Tag Attributes
Attributes | Value Description |
---|---|
ListName | Target list name - Required |
Separator | Non-empty text to use as delimiter of the list entries - Required |
Example Scripts
<SplitIntoSetVarList ListName="listFromSplit" separator=":" var1="blue:red:yellow" var2="42:666"/>
<ytriaAutomation>
<SplitIntoSetVarList ListName="listFromSplit" separator=":" var1="blue:red:yellow" var2="42:666"/>
<Loop list="listFromSplit">
<ExecuteListAction/>
<Echo value="======> var1={%var1%} var2={%var2%}"/>
</Loop>
</ytriaAutomation>