Skip to content
Math & Text decodeURIComponent

$decodeURIComponent — Decodes a URL part.

Decodes a URL part.

Syntax

$decodeURIComponent[text]

Parameters

  • text (text, required) — The text.

Return Value

  • string.

Usage

$decodeURIComponent[a%26b] → "a&b"

Example

$sendMessage[$decodeURIComponent[a%26b]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.