base64Decode

Function: base64Decode()

Decode a base64 string into a string of binary characters

Syntax

base64Decode(value [, format])

Argument

Type

Description

Argument

Type

Description

value

String

A base 64 encoded string to be decoded

format

String (Optional)

BASIC: standard base64 algorithm,
URL: Url safe variant,
MIME: Mime compatible.

Defaults to BASIC

Examples

base64Decode(in.value)

Returns the string "21435" where the attribute in.value contains a string "MjE0MzU=".

See Also