[[["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-29 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eREPLACE_ALL\u003c/code\u003e function replaces all occurrences of a specified substring within a string.\u003c/p\u003e\n"],["\u003cp\u003eIt requires two string arguments: the substring to be replaced and the replacement string.\u003c/p\u003e\n"],["\u003cp\u003eThe function's output is the updated string with all instances of the substring replaced, up to a maximum replacement string size of 10 KB.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eREPLACE_ALL\u003c/code\u003e function specifically works with string data types.\u003c/p\u003e\n"],["\u003cp\u003eIt has an example that demonstrates how to replace all instances of the substring "Apigee" with "Google" resulting in the string "HelloGoogle".\u003c/p\u003e\n"]]],[],null,["# REPLACE_ALL function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nREPLACE_ALL function\n====================\n\n`REPLACE_ALL` function\n----------------------\n\nSupported data type\n-------------------\n\n\nThe `REPLACE_ALL` function supports the following data type:\n\n- String\n\nExample: Replace all the occurrences of a substring with a new value.\n---------------------------------------------------------------------\n\n\n**Sample data** : `$var1$ = \"HelloApigee\"`\n\n\n**Usage** : `$var1$.REPLACE_ALL(\"Apigee\", \"Google\")`\nReturn the current string \"HelloApigee\", with any substrings matching \"Apigee\" replaced with \"Google.\"\n\n\n**Output** : `HelloGoogle`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]