by dev | Apr 21, 2018 | Book
Empty This function provides a conditional evaluation of an expression. If the expression evaluates as null or empty, the function will output true, otherwise it will output false. Argument Empty(1) Ordinal Type Required Description 1 String True An attribute,...
by dev | Apr 21, 2018 | Book
AuthenticatedMemberID This function returns the MID of the Marketing Cloud account, based on the context of the authenticated user’s session. This is useful when creating customized pages for child Business Units (a feature available in earlier Enterprise 2.0...
by dev | Apr 21, 2018 | Book
IndexOf This function returns the position of the first occurrence of a specified value in a string. The index numbering starts at 1. Arguments IndexOf(1,2) Ordinal Type Required Description 1 String True String to search 2 String True String value to find Example %%[...
by dev | Apr 21, 2018 | Book
Format This function formats a string in the specified format pattern and locale. Format patterns follow the C# format types outlined in the official Microsoft documentation: Standard Numeric Format Strings Standard Date and Time Format Strings Some of these custom...
by dev | Apr 21, 2018 | Book
AuthenticatedMemberName This function returns the name of the Marketing Cloud user’s account, based on the context of their authenticated session. This is useful when creating customized pages for child Business Units (a feature available in earlier Enterprise...
by dev | Apr 21, 2018 | Book
Length This function returns the number of characters in the specified string. Argument Length(1) Ordinal Type Required Description 1 String True String to measure Example %%[ var @terms, @termsBlurb, @len, @max set @max = 105 set @terms = AttributeValue("terms") /*...