Home / Search/ Language Reference/ Functions/ Scalar Functions/ String Functions/strcat

strcat

The strcat function concatenates between 1 and 64 arguments to a single string.

Syntax

strcat( Argument1, Argument2 [, ArgumentN ] )

Arguments

  • Argument1 … ArgumentN: Expressions to be concatenated.

If an argument is not of the string type, it’s forcibly converted to string.

If an argument is null, it’s converted to a blank string.

Results

Arguments concatenated to a single string.

Usage Note

Concatenate strings using the strcat or strcat-delim function. Do not not rely on the + operator (with "string1" + "string2" notation).

Examples

print str1="hello", str2="world" | extend newstr=strcat(str1," ", str2)