User Tools

Site Tools


Action disabled: revisions
syntax:functions:decode

Decode(method, text)

Category: Web function


Description

This function decodes a text string using one of the available methods below.


Arguments

ArgumentTypeDescription
method Text The decoding method to use on text. See the table below.
text Text The text string to be decoded.

Return value type: Text.


Method Notes
'uriComponentEscape' Unescapes a URI, and then converts any plus characters ("+") into spaces.
'Base64'
'Base64url' Base64 in URL encoding


Examples

decode("uriComponentEscape", "one%2Bone")  //Returns 'one+one'


See also

syntax/functions/decode.txt · Last modified: 2021/09/18 21:06 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki