35.11 PLIST_DELETE Procedure

This procedure removes the property list key from the table.

Syntax

PLIST_DELETE (
     p_table IN OUT NOCOPY apex_t_varchar2,
     p_key   IN VARCHAR2 );

Parameters

Table 35-11 PLIST_DELETE Procedure Parameters

Parameters Description

p_table

The input table.

p_key

The input key.

Raised Errors

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