dglux5_wiki:dataflow:dataflow_blocks_reference:string_operations:length

Action unknown: siteexport_addpage

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.


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

  • input (string, number, or array)

input specifies the text to find the length for. If input is a number, it is converted to text first. If input is an array, the number of items in the array is returned.


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

  • output (number)

output returns the number of characters in the input string. If input is null, output returns 0.


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


  • dglux5_wiki/dataflow/dataflow_blocks_reference/string_operations/length.txt
  • Last modified: 2026/10/22 13:24
  • by 127.0.0.1