See the supported connectors for Application Integration.

SPLIT function

SPLIT function

Function Name Description Usage Input parameter Return value
SPLIT Splits a string based on the specified delimiter. SPLIT(value) A character or a sequence of characters to use to split the string. A string array.

Supported data type

The SPLIT function supports the following data type:

  • String

Example 1: Split a string based on the space character

Sample data: $var1$ = "Hello Apigee Integrations"

Usage: $var1$.SPLIT(" ")

Split var1 based on the space character.

Output: {"Hello","Apigee","Integrations"}

Example 2: Split a string based on the comma character

Sample data: $var1$ = "Test,Integrations"

Usage: $var1$.SPLIT(",")

Split var1 based on the comma character.

Output: {"Test","Integrations"}

Recommendation