CONTAINS – Search for certain characters in a string
This function returns the position of the first character, from those defined in a list, that is found in a string.
ADDWORD(<string>,<characters>)Where:
<string>- The string to search.
<characters>- The list of characters to be searched for, within the string.
The following command returns
8:
CONTAINS(“THE QUICK BROWN FOX”,”ABC”)The following command returns
1:
CONTAINS(“Spectrum Is Green”,”SIG”)
The following command returns 0:
CONTAINS(“ABC DEF”,”GHI”)