syntax:functions:decode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
syntax:functions:decode [2020/11/25 18:04] – dmitry | syntax:functions:decode [2021/09/17 22:11] – craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====HexDecode(encoding, hex_text)===== | + | ====== Decode(method, text) ====== |
+ | Category: | ||
+ | \\ | ||
+ | =====Description===== | ||
+ | This function decodes a text string using one of the available methods below. | ||
- | Converts the provided hex string into a text value. The text is assumed | + | \\ |
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |method | ||
+ | |text |Text |The text string | ||
+ | **Return value type:** Text. | ||
- | ^ | + | \\ |
- | |base64 | + | ^Method |
- | |base64url | + | |' |
- | |utf-8 | + | |' |
- | |utf-16 | + | |' |
+ | \\ | ||
+ | =====Examples===== | ||
+ | decode(" | ||
- | **Example** | + | \\ |
- | ^ Expression ^ Result | + | =====See also===== |
- | | hexdecode(' | + | * [[syntax: |
- | | hexdecode(' | + | * [[syntax: |
+ | * [[syntax: | ||
- | Both arguments are case-insensitive. | ||
- | **See also** | ||
- | |||
- | * [[syntax: | ||
- | * [[syntax: | ||
- | * [[syntax: |
syntax/functions/decode.txt · Last modified: 2021/09/18 21:06 by craigt