Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Concatenates between 1 and 64 arguments.
strcat(
argument1,
argument2 [,
argument3 ... ])
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
argument1 ... argumentN | scalar | ✔️ | The expressions to concatenate. |
Note
If the arguments aren't of string type, they'll be forcibly converted to string.
The arguments concatenated to a single string.
The following example uses the strcat()
function to concatenate the strings provided to form the string, "hello world." The results are assigned to the variable str
.
print str = strcat("hello", " ", "world")
Output
str |
---|
hello world |
The following example uses the strcat()
function to create a concatenated multi-line string which is saved to the variable, MultiLineString
. It uses the newline character to break the string into new lines.
print MultiLineString = strcat("Line 1\n", "Line 2\n", "Line 3")
Output
The results show the expanded row view with the multiline string.
MultiLineString |
---|
1. "MultiLineString": Line 1 2. Line 2 3. Line 3 |