54.15 PLIST_GET Function

This function gets the property list value for a key.

Syntax

APEX_STRING.PLIST_GET (
    p_table IN apex_t_varchar2,
    p_key IN VARCHAR2 )
    RETURN VARCHAR2

Parameters

Parameters Description
p_table The input table.
p_key The input key.

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