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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.