{{tag>Function Function_List Text}} ====== CHARS_FROM_RIGHT ====== ===== Description ===== Returns the text being the specified number of the rightmost characters in the provided text ===== Syntax ===== ''CHARS_FROM_RIGHT (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 rightmost characters of the text ===== Example ===== IF CHARS_FROM_RIGHT (Account.Name, 3) = 'ith' THEN ... ===== Related ===== [[ref:a_f:f:af:chars_from_left|CHARS_FROM_LEFT]], [[ref:a_f:f:af:substring|SUBSTRING]], [[ref:a_f:f:af:words_from_right|WORDS_FROM_RIGHT]], [[ref:a_f:f:af:length|LENGTH]]