strcat_array()
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Creates a concatenated string of array values using a specified delimiter.
strcat_array(
array, delimiter)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
array | dynamic |
✔️ | An array of values to be concatenated. |
delimeter | string |
✔️ | The value used to concatenate the values in array. |
The input array values concatenated to a single string with the specified delimiter.
print str = strcat_array(dynamic([1, 2, 3]), "->")
Output
str |
---|
1->2->3 |
To use quotes as the delimeter, enclose the quotes in single quotes.
print str = strcat_array(dynamic([1, 2, 3]), '"')
Output
str |
---|
1"2"3 |