Table of Contents

, ,

LENGTH

Description

Returns an integer constant indicating the number of characters in the provided text

Syntax

LENGTH (text)

Can be used in the condition of a FIND action.

Parameters

Attribute of the Plain Text type or string constant or calculation producing text

Returns

Number: the number of characters in the text.

Example

IF LENGTH (Account.Name) = 5 THEN ... 

SUBSTRING, TRIM, CHARS_FROM_LEFT, PAD_LEFT