The split() function splits a string using a delimiter.
split(expr1, expr2)
<option gwc:attributes="selected valueChecked in split(value , '|') ? 'selected' : null"/>