Overview
Encodes plain text to a Base64 encoded string
Syntax
Base64encode(1)
Function Properties
<!--complex table-->| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Text to encode |
Example
This sample code performs a Base64 encoding on a plain text string:
var decoded = 'Convert to Base64';
var encoded = Base64Encode(decoded); // "Q29udmVydCB0byBCYXNlNjQ="