This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
Base64Encode()
Base64Encode(string, encoding): String
Encode string as base64. Accepts string to encode and optional character encoding. Valid character encodings are "UTF-8", "UCS-2", "UCS-4", "SYSTEM". Default is UTF-8.
string |
String |
String to encode |
encoding |
String |
String encoding. Optional parameter. |
Return
Encoded string
print(Base64Encode("Some text")); //Will print "U29tZSB0ZXh0"