Length

Block Group: String Operations
Icon: Length block icon

The Length block returns the number of characters in a string, including spaces.


Input/Output Property

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


Output Property

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


Examples

The left-hand Length block returns the number of characters in the string "Hello". The right-had Length block returns the number of characters in the string "Hello World".

Length block example