You are here: Core Reference > Coding > Logic > CONCAT

CONCAT

Function Name

CONCAT

Description

The CONCAT function concatenates its inputs. The inputs are strings and the output is a combination of the input strings (the function appends the strings into a single string).

Arguments

Input 1 {STRING}

Input n{STRING}

For more information on the data types for the inputs and outputs, see Data Type Hierarchy.

Returns

Output {STRING}

The output is a combination of the input strings.

Example:

Function Block Diagram - CONCAT:

In this example, the CONCAT function has a string input of 'POINT' and a string input of 'DESC'. The function concatenates the inputs to provide an output of POINTDESC.

ST Program - CONCAT:

To use a CONCAT function in an ST program, you need to use this syntax:

  • Output := CONCAT (Input 1, Input 2)

Where Output, Input 1 and Input 2 are defined as variables earlier in the ST program.


ClearSCADA 2015 R2