Math & Text
encodeURI
$encodeURI — Encodes a full URL (keeps :/?#&=).
Encodes a full URL (keeps `:/?#&=`).
Syntax
$encodeURI[text]
Parameters
- text (text, required) — The text.
Return Value
- string.
Usage
$encodeURI[a b] → "a%20b"
Example
$sendMessage[$encodeURI[a b]]
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.