url_decode
Decode encoded URL strings using CURL.
Syntax
decoded = url_decode(encodedStrings)
Arguments
- encodedStrings
- Any single string or regular array of strings.
- decoded
- Array of strings. Its sizes match
encodedStringsones.
Description
url_decode(…) reverses the url_encode(…) action.
encodedStrings.Examples
txt = "+-._~ %23 ABC"; c = url_encode(txt) d = url_decode(c) d == txt
--> txt = "+-._~ %23 ABC"; --> c = url_encode(txt) c = "%2B-._~%20%2523%20ABC" --> d = url_decode(c) d = "+-._~ %23 ABC" --> d == txt ans = T
See also
- url_encode — Encode URL strings using CURL.
- http_get — HTTP GET request.
- url_split — URL (HTTP, HTTPS, FTP...) を分解
- hex2dec — 16進数から10進数への変換
- ascii — 文字列をアスキー変換する
History
| バージョン | 記述 |
| 2024.0.0 | url_decode() added to the webtools module. |
| Report an issue | ||
| << toJSON | Web Tools | url_encode >> |