base64_encode_tostring()
Encodes a string as base64 string.
Syntax
base64_encode_tostring(String)
Arguments
- String: Input string to be encoded as base64 string.
Returns
Returns the string encoded as base64 string.
- To decode base64 strings to UTF-8 strings, see base64_decode_tostring()
- To decode base64 strings to an array of long values, see base64_decode_toarray()
Example
print Quine=base64_encode_tostring("Kusto")
| Quine |
|---|
| S3VzdG8= |