Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

urlDecode

value urlDecode(text, flags, charset)

Decode the application/x-www-form-urlencoded text into a value using the specific charset.

Flags:

FlagDescription
"c"Decode all escaped characters, returns a text, the default
"u"Decode escaped characters but preserve those with semantics importance, returns a text
"p"Parse and decode query parameters, returns a dictionary

Parameters

  1. text — text to decode.
  2. flags — optional text where each character is a flag.
  3. charset — optional charset, default is UTF-8.

Returns

  • the decoded text or query parameter dictionary.
Note! This documentation is also accessible within the app from Help & feedback menu.