Creator Help

List - get

This topic describes the syntax and usage of the list - get function in Zoho Creator .


The get function returns the element at the specified postion in the list. The first element will be at index '0', the second element at "1" and so on.



The get function syntax has the following arguments.

list - Required - The list from which you want to get the element based on the specified index.

index - Required. The position of the element to be searched for. 


Return Value

Returns true if element is present in the list, otherwise false. 


colors = {"red", "blue", "green", "yellow", "blue"};
x = colors.get(0);          // returns the color "red" from the list 

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: