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