filterAmpersand()

The filterAmpersand() function filters the ampersand (&) on a given string. Double ampersand (&&) are replaced by a simple one.

Syntax

filterAmpersand(expr)
Note:
  1. This function is useful to filter labels containing GDC accelerators as defined in in the Genero Business Language documentation.

Example

<span gwc:content="filterAmpersand('&Save && exit'/>

produces

<span>Save & exit</span>