FCF 2.0 development in progress...
> > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

fcf.encodeBase64() function

string fcf.encodeBase64(string a_str)

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Encodes a string in base64 format

Arguments

string a_str
- Source string
Result
string
- Resulting string in base64 format

Example: Function application

console.log(fcf.encodeBase64("Test string"));

Output:

VGVzdCBzdHJpbmc=