string_size()
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Returns the size, in bytes, of the input string.
string_size(
source)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
source | string |
✔️ | The string for which to return the byte size. |
Returns the length, in bytes, of the input string.
Kusto
print size = string_size("hello")
Output
size |
---|
5 |
Kusto
print size = string_size("⒦⒰⒮⒯⒪")
Output
size |
---|
15 |