Previous Topic: base64Decode--Decode a base64 Encoded String (Function)Next Topic: curDir--Retrieves the Current Directory (Function)


base64Encode--Perform a base64 Encoding of a String (Function)

This function performs base64 encoding of the input data.

The function has the following syntax:

base64Encode(sData)

The function returns a string holding the base64 encoded data passed in sData. The result string is formatted using a line length of 76 characters.

sData

Defines the string to encode.

Example

Encode "Hello World":

? base64Encode("Hello World!")

See also:

base64Decode--Decode a base64 Encoded String (Function)