Skip to main content
Skip table of contents

SplitIntoSetVarList: Split List Into SetVar

Tag: SplitIntoSetVarList

The SplitIntoSetVarList function generates a list of SetVar from text values.

Tag Attributes

AttributesValue Description
ListNameTarget list name - Required
SeparatorNon-empty text to use as delimiter of the list entries - Required

Example Scripts

XML
<SplitIntoSetVarList ListName="listFromSplit" separator=":" var1="blue:red:yellow" var2="42:666"/>


XML
<ytriaAutomation>
	<SplitIntoSetVarList ListName="listFromSplit" separator=":" var1="blue:red:yellow" var2="42:666"/>
	<Loop list="listFromSplit">
		<ExecuteListAction/>
		<Echo value="======> var1={%var1%} var2={%var2%}"/>
	</Loop>
</ytriaAutomation>


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.