25.9 PLIST_DELETE Procedure

This procedure removes the property list key from the table, by setting it to null.

Syntax

plist_delete (
     p_table in out nocopy apex_t_varchar2,
     p_key   in varchar2 );

Parameters

Table 25-9 PLIST_DELETE Procedure Parameters

Parameters Description

p_table

The input table.

p_key

The input key.

Raised Errors

Table 25-10 PLIST_DELETE Procedure Raised Errors

Parameters Description

NO_DATA_FOUND

Given key does not exist in table.

Example

Remove value of property"key2".

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