{{tag>Function Function_List Text}} ====== PAD_RIGHT ====== ===== Description ===== Pads the given string on the right with the specified character ===== Syntax ===== ''PAD_RIGHT (text, character, length)'' Cannot 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 identifying the string to pad; the character to pad with; the resulting length of the string ===== Returns ===== **Text**: the string padded on the right with the character up to the given length. ===== Example ===== PAD_RIGHT ('John', '0', 6) returns ''John00'' ===== Related ===== [[ref:a_f:f:af:pad_left|PAD_LEFT]], [[ref:a_f:f:af:trim|TRIM]], [[ref:a_f:f:af:length|LENGTH]]