String UrlEncode Example

The following sample encodes a string so it can be safely used in urls.

Smartsite SXML CopyCode image Copy Code
{string.urlencode('*# | #*')}
Example Result CopyCode image Copy Code
*%23+%7c+%23*
SXML