CONCAT (FUN)

 

FUNCTION CONCAT : STRING(255)

Concatenates two strings

CONCAT(STR1,STR2) means: Connect STR1 and STR2 to a single string STR1STR2.

(* Example declaration *)
VarSTRING1 : STRING ;

(* Example in ST , result is 'SUSIWILLI' *)
VarSTRING1 := CONCAT ('SUSI','WILLI');

InOut:

Scope

Name

Type

Comment

Return

CONCAT

STRING(255)

Concatenated string, max. 255 characters. If the result doesn't fit into these 255 bytes, it will be silently truncated. No error is produced.

Input

STR1

STRING(255)

String 1 to be concatenated, max. 255 characters

STR2

STRING(255)

String 2 to be concatenated, max. 255 characters