Base64encode
Overview
Encodes plain text to a Base64 encoded stringSyntax
Base64encode(1)
| 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="