11.7 List of Strings Deciders

Whenever the XML allows users to specify a list strings decider (instead of a concrete list), the following are valid inputs:

11.7.1 String to List Decider

A string to list decider takes a single string and parses the string into a list of strings using a delimiter. Administrators may use this decider using the <calculate operation="string-to-list"> tag. This accepts one child element, which is any string value decider (such as a component or another calculate element). This element also accepts a delimiter attribute. If the delimiter is not specified, Viewpoint uses a comma to tokenize the string.

The following is an example of a string to list decider. In this example, the hostListTextbox component would contain a comma-separated list of values that would then be converted to a list.

<calculate operation="string-to-list" delimiter=",">
  <component id="hostListTextbox" />
 </calculate>