split()

The split() function splits a string using a delimiter.

Syntax

split(expr1, expr2)
Note:
  1. Return string(expr1) split into an array of substrings according tostring(expr2) delimiter.

Example

<option 
 gwc:attributes="selected valueChecked in split(value , '|') ? 'selected' : null"/>