Category: Web function
This function encodes a text string using one of the available methods below.
| Argument | Type | Description |
|---|---|---|
| method | Text | The encoding method to use on text. See the table below. |
| text | Text | The text string to be encoded. |
Return value type: Text.
| Method | Notes |
|---|---|
| uriComponentEscape | Escapes a URI, and then converts any spaces into plus characters ("+"). |
| Base64 | |
| Base64url | Base64 in URL encoding |
encode("uriComponentEscape", "one+one") //Returns 'one%2Bone'