Skip to main content

Overview

This function converts a string to a base64 encoded string, useful for data encoding and transmission.

Parameters

base64String(string)
  • String: The string to encode in base64 format.

Example

base64String("Hello")
Returns "SGVsbG8=".
I