url-encode
{ "title": "URL_ENCODE", "language": "en" }β
Descriptionβ
Use UTF-8 encoding to complete the URL encoding of the provided text. Typically used to encode parameter information passed as part of a URL
Syntaxβ
URL_ENCODE( <str> )
Required Parametersβ
Required Parametersβ
Parameters | Description |
---|---|
<str> | String to be encoded |
Return Valueβ
UTF-8 encoding completes the URL encoding of the provided text
Exampleβ
select URL_ENCODE('Doris Q&A');
+-------------------------+
| url_encode('Doris Q&A') |
+-------------------------+
| Doris+Q%26A |
+-------------------------+