[[["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\u003eLENGTH\u003c/code\u003e function calculates the number of characters within a given string.\u003c/p\u003e\n"],["\u003cp\u003eThis function requires no input parameters and returns the string's length.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLENGTH\u003c/code\u003e function is applicable to strings and returns an integer.\u003c/p\u003e\n"],["\u003cp\u003eFor example, if \u003ccode\u003e$var1$ = "Hello Apigee Test"\u003c/code\u003e, then \u003ccode\u003e$var1$.LENGTH()\u003c/code\u003e would return \u003ccode\u003e17\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the listed supported connectors if the Application Integration process needs it.\u003c/p\u003e\n"]]],[],null,["# LENGTH function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nLENGTH function\n===============\n\n`LENGTH` function\n-----------------\n\nSupported data type\n-------------------\n\n\nThe `LENGTH` function supports the following data type:\n\n- String\n\nExample: Calculate the length of a string\n-----------------------------------------\n\n\n**Sample data** : `$var1$ = \"Hello Apigee Test\"`\n\n\n**Usage** : `$var1$.LENGTH()`\nCalculate the length of string var1.\n\n\n**Output** : `17`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]