{{tag>Function Function_List Text}} ====== CHARS_FROM_LEFT ====== ===== Description ===== Returns the text being the specified number of the leftmost characters in the provided text ===== Syntax ===== ''CHARS_FROM_LEFT (text, count)'' 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 and an integer constant indicating the number of characters to retrieve ===== Returns ===== **Text**: the given number of leftmost characters of the text ===== Example ===== IF CHARS_FROM_LEFT (Account.Name, 2) = 'Jo' THEN ... ===== Related ===== [[ref:a_f:f:af:chars_from_right|CHARS_FROM_RIGHT]], [[ref:a_f:f:af:substring|SUBSTRING]], [[ref:a_f:f:af:words_from_left|WORDS_FROM_LEFT]], [[ref:a_f:f:af:length|LENGTH]]