StringToBase64
StringToBase64() function encodes some content as base64 string.
Syntax
StringToBase64(contentToEncode);
Arguments
- contentToEncode – (String) a string content that will be encoded.
Return value
Returns base64 encoded string.
Type: String.
Examples
Example 1:
A „result” variable will contain the given „Hello World!” text as base64 encoded string.
result = StringToBase64("Hello World!");