Attention

IronPLC can only run very simple programs. The steps described are accurate but many language features are not yet supported.

CONCAT

Concatenates two strings.

IEC 61131-3

Section 2.5.1.5.7

Support

Not yet supported

Signatures

#

Input (IN1)

Input (IN2)

Return Type

Support

1

STRING

STRING

STRING

Not yet supported

2

WSTRING

WSTRING

WSTRING

Not yet supported

Description

Returns a new string formed by appending IN2 to the end of IN1.

Example

result := CONCAT('Hello', ' World');    (* result = 'Hello World' *)
result := CONCAT('A', 'B');             (* result = 'AB' *)

See Also

  • INSERT — string insertion

  • LEN — string length

  • LEFT — left substring