String manipulation

LITERAL – Supply string to function expecting field name

111 views June 1, 2018 admin 0

Overview

This Custom Field returns the contents of the given parameter. It should be used to supply a string to a function that is expecting a field name.

Syntax

LITERAL(String)

Element Description
String This string will be passed as-is.

Example

The LEFTSTR command expects a field name as the first parameter. If, however, you want to pass a fixed string to this function the LITERAL command should be used:
LEFTSTR(LITERAL(‘abcdefg‘),2)

See also

LEFTSTR

RIGHTSTR

LENGTH

Was this helpful?