5.0 Template Functions

WebAccess provides many built-in functions you can use to cause special processing to occur. A function cannot appear in a template alone, but must serve as a parameter of a keyword, part of an expression that is a parameter of a keyword, or a parameter of another function. Function names are case sensitive.

Functions usually appear within a SET, STRING, or VAR keyword. The following example uses the substring function as the parameter of the VAR keyword.

{SET TisATest="this is a test"}
{VAR substring(TisATest, 8, 6)}
{! output: "a test"}

You need to be aware of the following rules concerning functions:

This document describes the following template functions and their syntax, parameters, and return values: