OpenWGA 7.10 - TMLScript reference

WGA » WGA.List()
Method :

join(divider)

On object WGA.List()
Usage

Creates a string from all list values (converted to string) separated with the given divider.

Parameters

divider (String)

The string used as divider

Return value

String

Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Examples

WGA.List([1, 2, 3]).join(" - ")
//returns "1 - 2 - 3"