Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | DSPs and building output templates | Using Output Templates to Format Service Output | %loopsep%
 
%loopsep%
You use the %loopsep% tag to insert a specified character sequence between the results from a %loop% block.
Syntax
%loopsep ‘sepString’%
Arguments
sepString is a string that you want to insert between each result.
Effect on Scope
None
Notes
%loopsep% does not insert sepString after the result produced by the last iteration of the loop.
Examples
The following example inserts a comma between each value produced by the loop.
.
.
.
%loop items%
%loop -struct%
%value%
%loopsep ‘,’%
%endloop%
%endloop%
.
.
.