ProperCase

ProperCase This function capitalizes the first letter in the specified string and any other letters in the string that follow any character other than a letter. It converts all other letters into lowercase. Argument ProperCase(1) Ordinal Type Required Description 1...

LiveContentMicrositeURL

LiveContentMicrositeURL This function enables integration with Live Content in Marketing Cloud. Live Content includes the following features: Live Image: compares the effectiveness of two images within email content Live Offers: dynamically renders coupon barcodes or...

RegExMatch

RegExMatch This function searches for and returns a string for the first occurrence of the matching regular expression pattern. Arguments RegExMatch(1,2,3,[n]) Ordinal Type Required Description 1 String True String to search for a match 2 String True Regular...

Random

Random This function returns a random number between two numbers. Both upper and lower bound parameters are inclusive. Arguments Random(1,2) Ordinal Type Required Description 1 Number True Value of lower bound 2 Number True Value of upper bound Example %%[ var...

Sales & Service Cloud Functions

Overview Marketing Cloud includes several AMPscript functions that enable interaction with Sales and Service Cloud object records and emails. Applications include: Creating or updating a record in a standard or custom Salesforce object Dynamically retrieving and...

Subtract

Subtract This function returns the difference between two numbers. Arguments Subtract(1,2) Ordinal Type Required Description 1 Number True First value 2 Number True Second value Example %%[ var @diff, @num1, @num2 set @num1 = 42.51 set @num2 = 5 set @diff =...