String Merge

Description

This object is being used to merge 2 - 4 individual strings together into one.


App Builder Object


Source Code

function execute() { let out = ''; for (let i = 0; i < inPorts.length; i += 1) { if (inPorts[i].value) { out += inPorts[i].value; } } return [out]; }

In Ports

Position

Name

Message Type

Description

Position

Name

Message Type

Description

1

String A

String

This port is being used to receive a message containing a string for the 'String Merge' Object. The object executes when a string is received.

2

String B

String

This port is being used to receive a message containing a string for the 'String Merge' Object. The object executes when a string is received.

3

String C

String

This port is being used to receive a message containing a string for the 'String Merge' Object. The object executes when a string is received.

4

String D

String

This port is being used to receive a message containing a string for the 'String Merge' Object. The object executes when a string is received.


Out Ports

Position

Name

Message Type

Description

Position

Name

Message Type

Description

1

String

String

This port is being used to send out the message containing the merged string from the 2 - 4 initial strings.

 


Properties

Name

Description

Name

Description

Object Name

The name of the object on the canvas.

Show Code View

The switch to turn on code view for the Code Object.

Duplicate code into custom Code Object