Skip to content

Split

125

The Split node is a data parsing tool that breaks a single string into multiple parts based on a separator (like a comma or space) and returns a specific part chosen by its index.

When to use this node: * MQTT Payload Parsing: Extracting a specific value from a comma-separated string sent by an external sensor (e.g., extracting "25" from "temp,25,humidity,40"). * CSV Data Handling: Reading specific columns from a text-based database or config file.

Connectors in

  • S [type: string]
  • splitBy [type: string]
  • index [type: integer]

Connectors out

  • result [type: string]
  • parts [type: integer]

Node properties

  • index [type: integer]
  • S [type: string]
  • splitBy [type: string]