User Tools

Site Tools


syntax:functions:encode

encode(method, text)

Encodes a text string using one of the available methods below:

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

Example

Expression Result
encode("uriComponentEscape", "one+one") one%2Bone

See also

syntax/functions/encode.txt · Last modified: 2019/10/30 19:38 by dmitry