Concatenates two or more strings.
STRCAT("str1", ..., "strN")
"strN" |
- |
Two or more strings. |
A string.
strcat("DADiSP", " is pronounced ", "Day-Disp")
results in the string: "DADiSP is pronounced Day-Disp."
strcat("DADiSP", " is pronounced ", "Day-Disp")
W1: 1..0.5..6.5
strcat("The max of Window 1 is ", strnum(max(W1)))
displays : The max value of Window 1 is 6.5 on the status line.
message(strcat("The max of Window 1 is ", strnum(max(W1))))
displays a pop-up message.
The + operator also combines strings. For example:
"String 1" + " String 2"
is equivalent to:
strcat("String1", " String2")
and yields:
"String1 String2"
The += operator appends a string to an existing string:
s1 = "String 1";
s1 += " String2";
s1 == "String1 String2"
See SPRINTF for more flexible string formatting.