String Length

Description

This object is being used to calculate the length of a string.


App Builder Object


Source Code

function execute() { return [inPorts[0].value.length]; }

Examples

Example

String

Length

Example

String

Length

1

 

0

2

Hallo

5

3

Quantum

7


In Ports

Position

Name

Message Type

Description

Position

Name

Message Type

Description

1

String

String

This port is being used to receive the string that should be used to calculate the length for.


Out Ports

Position

Name

Message Type

Description

Position

Name

Message Type

Description

1

Length

Number

This port is being used to sent out the length of the string.


Properties

Name

Description

Name

Description

Object Name

The name on 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