OpenWGA 7.11 - TMLScript reference
WGA » WGA.List()Method :
trim()
On object | WGA.List() |
Usage |
Removes null values and empty strings from the list and returns the resulting list as WGAList object for further method chaining. |
Return value |
WGAList object with new values. |
Allowed in script types |
|
Examples |
WGA.List([1, null, 2, "", 3]).trim() |