Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Encodes a string using Base64.

This function is similar to the JavaScript base64 encode.

Syntax


Code Block
Base64.encode()


Example

Expression: Base64.encode($City)

Where $City contains a string.

Result: "UGxlYXNhbnRvbg=="

...

Description

Decodes a string using Base64.

This function is similar to the JavaScript Base64 decode.

Syntax


Code Block
Base64.decode()


Example

Expression: Base64.decode($City)

Where $City contains an encoded string.

Result:  "Pleasanton"

...