This function strings together the identified elements of an array into a single string with the specified string between each element.
This function uses the following syntax:
<% set var=variable function=ESPList
parm1=separator
{ parm2=mdoPrefix.{*}.mdoSuffix |
parm3=stemPrefix.*.stemSuffix |
parm4=varPrefix }
[ parm5=fromRange ] [ parm6=toRange ]
[parm7=quoting [parm8=quoteScope] ] [ parm9=REVERSE ] %>
This function contains the following parameters:
String to place between elements of the list.
Indicates that the variable source is an MDO. The MDO is assumed to have the structure: mdoPrefix.{*}.mdoSuffix.
Each item (mdoSuffix) of the list mdoPrefix.{*} is strung together with the separator between each item.
Indicates that the variable source is an OML stem. The stem is assumed to have the following structure:
Each item of the list is strung together with the separator between each item.
Indicates that the variable source is a variable prefix. The array structure is assumed to be of the form:
Each item of the array is strung together with the separator between each item. The list is assumed to terminate at the first null variable reference.
Starting item of the list. Default is 1.
Ending item of the list. If not specified, then the whole list is assumed. Null elements of the list result in consecutive separators.
Allows the specification of particular quoting for each item of the list. If not specified, then no quoting is done. The valid quoting options are:
This parameter is only valid when quoting is specified. It indicates the scope of the quoting. Specify one of the following:
If specified, then tells ESPList to process the items in reverse order.
String.
[assign the value for TD in your book]<%=ESPList parm1='</td>[assign the value for TD in your book]' parm4=$SLRID %> </td>
results in:
[assign the value for TD in your book]first item</td>[assign the value for TD in your book]second item</td>third item</td>