string string.urlencode(string value)
The following sample encodes a string so it can be safely used in urls.
{string.urlencode('*# | #*')}