QuestionQ72

VerifiedScripting and Automation

A field value retrieved through a data extension lookup contains a tab-delimited list of values.

Which AMPscript function can easily determine whether a particular text string appears anywhere in that list?

Explanation

IndexOf() searches a source string for a substring and returns its starting position; it returns 0 when the substring is not found. It therefore directly tests whether specified text occurs in a tab-delimited string. Salesforce AMPscript IndexOf() documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!