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.
For example...
base64String("Hello")
Returns "SGVsbG8=".