Wrap ​
Wraps an element in the specified characters, if the element is non-empty. If it is empty, nothing is returned.
ACEweb Routines/Templates ​
Special Use
Required Parameters ​
- Element to wrap. E.g. pcShortList.
- Wrapping character, entered in quotations. E.g. "(", "/".
Optional Parameters ​
Right wrapping character, entered in quotations. E.g. "/".
If parameter 2 is any of following, this parameter is not needed:
( { [ < <% <<
Examples ​
##wrap(pcShortList,"(")## wraps the pcShortList value in parentheses, e.g. (pcShortList values), IF pcShortList has a value. If it is blank, nothing is returned.
##wrap(pcshortList,"--","--")## wraps the pcShortList value in double hyphens, e.g. --pcShortList values--, IF pcShortList has a value. If it is blank, nothing is returned.