{{tag>Function Function_List Text}} ====== AS_STRING ====== ===== Description ===== Converts the given attribute or expression of the Number, Date, Timestamp, Yes/No or Plain Text types into a string. ===== Syntax ===== ''AS_STRING (value[, format])'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Attribute or expression of the Number, Date, Timestamp, Yes/No or Plain Text types ===== Returns ===== **Text**: the value as text; the optional format sets how a date or number is written, e.g. ''AS_STRING(Object.Date, 'yyyy-MMM-dd')'' ===== Example ===== IF AS_STRING (Account.Number) = '5' THEN ... ===== Related ===== [[ref:a_f:f:af:as_number|AS_NUMBER]], [[ref:a_f:f:af:as_date|AS_DATE]], [[ref:a_f:f:af:as_timestamp|AS_TIMESTAMP]], [[ref:a_f:f:af:nformat|NFORMAT]]