25.10 PLIST_GET Function

This function gets the property list value for a key.

Syntax

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

Parameters

Table 25-11 PLIST_GET Function Parameters

Parameters Description

p_table

The input table.

p_key

The input key.

Raised Errors

Table 25-12 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