A script-enabled browser is required for this page to function properly.

LIST.GETITEM built-in function

This function retrieves an item from a list.

Syntax


FUNCTION LIST.GETITEM
(list Listofchar,
pos PLS_INTEGER)
RETURN VARCHAR2;

Parameter

Description

list

The name of an existing list.

pos

A position (base equals 0).

Returns

An item from the specified list.

Example


/* 
** Retrieve and print out the second item
** in my_List
*/
  TEXT_IO.PUT_LINE(List.Getitem(my_List, 1));

See also

About the LIST built-in package

LIST built-in package