Table of Contents

Length

Block Group: String Operations
Icon:Length block icon

The Length block returns the number of characters in a string. Spaces are considered characters.

For information on using dataflow blocks, see Dataflow.


Input/Output Property

The following property of the Length block can take input and give output.

input specifies the text to find the length for.


Output Property

The following property of the Length block can give output but cannot take input.

output returns the number of characters in the input string.


Examples

The following image demonstrates two Length blocks. The leftmost Length block returns the number of characters in the string "Hello". The rightmost Length block returns the number of characters in the string "Hello World".

Length block example