PLIST_PUT Function
This function inserts or updates property list value for a key.
Syntax
plist_put (
p_table in out nocopy apex_t_varchar2,
p_key in varchar2,
p_value in varchar2 );
Parameters
Table 32-14 PLIST_PUT Function Parameters
Parameters | Description |
---|---|
|
The input table. |
|
The input key. |
|
The input value. |
Example
Set property value to "key2"
.
declare
l_plist apex_t_varchar2 := apex_t_varchar2('key1','foo');
begin
apex_string.plist_put(l_plist,'key2','bar');
sys.dbms_output.put_line(apex_string.plist_get(l_plist,'key2'));
end;
-> bar
Parent topic: APEX_STRING