Application Express User's Guide > Oracle Application Express ... > HTMLDB_UTIL > URL_ENCODE Function
URL_ENCODE Function |
Previous |
Next |
This function encodes (into hexadecimal) all special characters that include spaces, question marks, and ampersands.
Syntax
HTMLDB_UTIL.URL_ENCODE ( p_url IN VARCHAR2) RETURN VARCHAR2;
Parameters
Table: URL_ENCODE Parameters describes the parameters available in the URL_ENCODE
function.
Example
DECLARE l_url VARCHAR2(255); BEGIN l_url := HTMLDB_UTIL.URL_ENCODE('http://www.myurl.com?id=1&cat=foo'); END;