PLIST_GET Function

This function gets the property list value for a key.

Syntax

plist_get (
     p_table in apex_t_varchar2,
     p_key in varchar2 )
     return varchar2

Parameters

Table 32-12 PLIST_GET Function Parameters

Parameters Description

p_table

The input table.

p_key

The input key.

Raised Errors

Table 32-13 PLIST_GET Function Raised Errors

Parameters Description

NO_DATA_FOUND

Given key does not exist in table.

Example

Get value of property "key2".

declare
    l_plist apex_t_varchar2 := apex_t_varchar2('key1','foo','key2','bar');
begin
    sys.dbms_output.put_line(apex_string.plist_get(l_plist,'key2'));
end;
-> bar