Skip to main content

$$urldecode

URL decodes as string

Usage​

{ 
"$$urldecode": /* URL encoded string */,
"charset": "UTF-8" /* or UTF-16 */
}
"$$urldecode([charset]):{input}"
note

Concrete values in the usage example are default values.

Returns​

string

Arguments​

ArgumentTypeValuesRequired / DefaultΒ ValueDescription
PrimarystringYesURL encoded string
charsetenumUTF-8/ UTF-16UTF-8Character encoding to use

Examples​

Input

Definition

Output

"not+url%2Bsafe%3F%3Dx%26b%3Dpath%2Fpath"
"$$urldecode:$"
"not url+safe?=x&b=path/path"
null
"$$urldecode:not+url%2Bsafe%3F%3Dx%26b%3Dpath%2Fpath"
"not url+safe?=x&b=path/path"
"hello%2Bunicode%2B%F0%9F%98%80%F0%9F%91%A8%E2%80%8D%F0%9F%91%A9%E2%80%8D%F0%9F%91%A7%E2%80%8D%F0%9F%91%A6%F0%9F%AA%AC"
"$$urldecode(UTF-8):$"
"hello+unicode+πŸ˜€πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸͺ¬"
"hello%FE%FF%00%2Bunicode%FE%FF%00%2B%D8%3D%DE%00%D8%3D%DC%68%20%0D%D8%3D%DC%69%20%0D%D8%3D%DC%67%20%0D%D8%3D%DC%66%D8%3E%DE%AC"
"$$urldecode(UTF-16):$"
"hello+unicode+πŸ˜€πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸͺ¬"