Przejdź do głównej zawartości

StringToBase64

StringToBase64() function encodes some content as base64 string.

StringToBase64(contentToEncode);
  • contentToEncode – (String) a string content that will be encoded.

Returns base64 encoded string.

Type: String.

Example 1: A „result” variable will contain the given „Hello World!” text as base64 encoded string.

result = StringToBase64("Hello World!");