tostring
The tostring function converts the input to a value of type string.
Syntax
tostring( Expression )
Arguments
- Expression: Expression to convert to a string.
Returns
If the Expression value is non-null, returns a string representation of Expression.
If the Expression value is null, returns null as well.
This is different from standard Kusto Query Language (KQL), in which
tostringreturns an empty string fornullvalues.
Example
tostring(123)returns"123"tostring("hello")returns"hello"tostring(null)returnsnull