Σημείωμα
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να εισέλθετε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Encodes a string as base64 string.
Deprecated aliases: base64_encodestring()
Syntax
base64_encode_tostring(string)
Learn more about syntax conventions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| string | string |
✔️ | The value to encode as a base64 string. |
Returns
Returns string encoded as a base64 string.
Examples
The following example shows how to use base64_encode_tostring() to encode a string into a base64 string.
print Quine=base64_encode_tostring("Kusto")
Output
| Quine |
|---|
| S3VzdG8= |
Related content
- 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().