TRUNC
The TRUNC function truncates a list or text string.
Last updated
The TRUNC function truncates a list or text string.
Last updated
TRUNC(object, [count])
Argument name
Description
object
Required
List of items or text string to be truncated.
count
Required
Number of items, or characters to retain.
If:
list = [a, b, c, d]
name = 'John Smith'
When the following functions are executed:
Results will be:
out1 = [a, b]
out2 = 'John'