base64_encode_tostring()

This article describes base64_encode_tostring().

Encodes a string as base64 string.

Syntax

base64_encode_tostring(string)

Parameters

NameTypeRequiredDescription
stringstring✔️The value to encode as a base64 string.

Returns

Returns string encoded as a base64 string.

Example

print Quine=base64_encode_tostring("Kusto")

Output

Quine
S3VzdG8=