39.49 REPLACE_SUBSTITUTIONS Function
This function replaces any &ITEM. substitution references with their actual value. If p_escape is set to TRUE, any special characters contained in the value of the referenced item are escaped to prevent Cross-site scripting (XSS) attacks.
Syntax
APEX_PLUGIN_UTIL.REPLACE_SUBSTITUTIONS (
p_value IN VARCHAR2,
p_escape IN BOOLEAN DEFAULT TRUE )
RETURN VARCHAR2;Parameters
Table 39-68 REPLACE_SUBSTITUTION Parameters
| Parameter | Description |
|---|---|
|
|
This value is a string which can contain several |
|
|
If set to |
Example
The following example replaces any substitution syntax references in the region plug-in attribute 05 with their actual values. Any special characters in the values are escaped.
l_advanced_formatting := apex_plugin_util.replace_substitutions (
p_value => p_region.attribute_05,
p_escape => true );Parent topic: APEX_PLUGIN_UTIL