CONCAT$
The CONCAT$ function accepts two arguments both of which must be either a string constant or a string variable. The function returns a single string that concatenates the two strings.
Example: R$=CONCAT$('R','22') {R$ will be set to 'R22', which can be used in thermophysical property function calls}
Starting with EES version 9.487, the || operator can also be used for concatenation. It is somewhat simpler to use the || operator when more than one concatenation is required, as seen in the following example.
R$='R'
a$='12'||'34'||'56'||R$||String$(10+22)
Note that the || operator is two characters. The | character is provided on US keyboards on the same key as the \ character. It is character $7C. This character may not be present on some EU keyboards, but it can be enter with sequence Alt + 124.
Return to String Functions