TRUNC

The TRUNC function truncates a list or text string.

Syntax

TRUNC(object, [count])

Examples

If:

  • list = [a, b, c, d]

  • name = 'John Smith'

When the following functions are executed:

Results will be:

  • out1 = [a, b]

  • out2 = 'John'

Last updated