[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCONTAINS\u003c/code\u003e function checks if a specific value exists within a string or a string array.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a boolean value: \u003ccode\u003eTRUE\u003c/code\u003e if the value is found, \u003ccode\u003eFALSE\u003c/code\u003e otherwise.\u003c/p\u003e\n"],["\u003cp\u003eThe function is applicable to boolean, double, integer, and string arrays, as well as strings.\u003c/p\u003e\n"],["\u003cp\u003eAn example is shown where searching for "xyz" within the string "Hello Apigee Integrations" will output \u003ccode\u003eFALSE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# CONTAINS function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nCONTAINS function\n=================\n\n`CONTAINS` function\n-------------------\n\nSupported data type\n-------------------\n\n\nThe `CONTAINS` function supports the following data types:\n\n- Boolean array\n- Double array\n- Integer array\n- String array\n- String\n\nExample: Check the occurrence of a sequence of characters in a string\n---------------------------------------------------------------------\n\n\n**Sample data** : `$var1$ = \"Hello Apigee Integrations\"`\n\n\n**Usage** : `$var1$.CONTAINS(\"xyz\")`\nCheck the occurrence of `xyz` in var1.\n\n\n**Output** : `FALSE`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]