{{tag>Function Function_List Text}} ====== 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 [[:ref:a_f:a:find|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 ... ===== Related ===== [[ref:a_f:f:af:substring|SUBSTRING]], [[ref:a_f:f:af:trim|TRIM]], [[ref:a_f:f:af:chars_from_left|CHARS_FROM_LEFT]], [[ref:a_f:f:af:pad_left|PAD_LEFT]]