INT_LIST function

INT_LIST function

Function Name Description Usage Input parameter Return value
INT_LIST Returns an integer list between the specified values. The returned list is inclusive of the starting value and exclusive of the ending value. INT_LIST(value, value) This function takes the following arguments:
  • First argument: starting integer value
  • Second argument: ending integer value
An integer array

Supported data type

The INT_LIST function supports the following data type:

  • Integer array

Example: Generate an integer array between 12 and 20.

Usage: INT_LIST("12", "20")

Returns a list of integers between 12 and 20.

Output: 12, 13, 14, 15, 16, 17, 18, 19

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年11月24日 UTC.