Contents - Index


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)

 

Return to String Functions