Concat

Description: Returns the text value that is the concatenation of all the text parameters.
Returns: Text
Usage: Script or steady state.
Function Groups: String and Buffer
Related to: GetParmPhrase | StrCmp | StrICmp | StrLen | GetPhrase
Format: Concat(String1, String2[, String3, ... ])
Parameters:  
String1, String2, String3
A minimum of two parameters are required  May be any expressions that give the text values to add to the resulting string.
Comments:

You are encouraged to use \GetParmPhrase rather than Concat in most situations.

This function takes all of the characters of the first parameter and appends all of the characters of the second parameter to the end of this string. It will then take all of the characters of the next parameter and append them to the result. This will continue until there are no more parameters.
Because the text strings are delimited by quotation marks, to include a set of quotation marks as part of the resulting string, you must use two sets of quotation marks (see example).

Example:

ZText(10, 10, Concat("The maximum is ", maxValue,
      " and the minimum is ", minValue), 2, 0); 

This statement displays the 2 strings and 2 values as a single line of (white) text in the window.

ZText(10, 10, Concat("""Hello"", said the ", animal), 12, 0);
ZText(10, 10, Concat("""", "Hello", """", ", said the ", animal),
      12, 0); 

 These two statements will display the exact same line of text on the screen. If animal is the string "cat", the text that they display will be:

"Hello", said the cat