$uri
$uri
will encode or decode an URL.
Usage
$uri[text;type?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | Text to encode/decode. | true |
type? | string | What to do with the given text. 1. encode (default) 2. decode | false |
Example(s)
This will encode a given text:
1client.command({2 name: "encode",3 code: `4 $uri[aoi.js is great :);encode]5 `6});
This will decode a given text:
1client.command({2 name: "decode",3 code: `4 $uri[aoi.js%20is%20great%20%3A);decode]5 `6});