Comparison Operators

Comparison Operators Comparison operators are used to compare two values, or operands. The result of the evaluation will return a Boolean result. There are six comparison operators available in AMPscript. The operands need to be the same type; for example, string,...

MobileConnect Data Strings

MobileConnect Data Strings MobileConnect messages use nouns and verbs. A verb is a keyword used in a Mobile Originated (MO) message. Nouns are strings that appear after the keyword. In the example below, OFFER is the keyword, or verb, of the message and Curt Harris...

Logical Operators

Logical Operators While Comparison Operators can only compare two values, logical operators can be used to join multiple conditions. Two types of operators are supported; or and and. Two or more logical operators can be used to evaluate an expression. NOTE: when using...

GroupConnect Data Strings

GroupConnect Data Strings The following strings apply only to GroupConnect messages and cannot be used in other Marketing Cloud applications. Some strings are specific to integration with the LINE messaging application. String Description Example Output...

Controlling Expression Evaluation

Controlling Expression Evaluation Parentheses can be used to control the order of operation for evaluating expressions. Example 1 In this scenario, free shipping should only be offered to bronze or silver members who spend over $500. %%[ var @statusTier, @amount,...

Website Data Strings

Website Data Strings The following strings apply only to landing pages, microsites and CloudPages and cannot be used in other Marketing Cloud applications. String Description Example Output microsite_base_url[default]ID[/default] URL to a microsite landing page....