Split/Parse Text

From Visuino
Jump to navigation Jump to search

File:TArduinoSplitParseText.png

Summary

Use this component to split or parse a text string into configurable elements based on type and partial-output rules.

Description

The **Split/Parse Text** component processes the input text according to user-configured element types—such as Text Element, Analog Element, Digital Element, Integer Element, or Unsigned Element—and outputs the parsed results. - When **Allow Partial** is enabled, partial parsing is allowed even if the input doesn’t include all specified elements. - **Ignore End** enables the component to disregard incomplete trailing data that doesn’t match element definitions. - The **Text** property defines the parsing pattern or template used for extraction. - The **Enabled** property toggles the component on or off—when disabled, the input text is passed through unchanged.

This component enables powerful, type-sensitive splitting and parsing routines—especially helpful when decoding structured textual data into strongly typed output elements. Visuino’s tutorial for this component highlights its flexibility by letting users drag and configure multiple “Text Element” outputs—highlighting the component’s role in constructing UI text displays.:contentReference[oaicite:1]{index=1}

Diagram:

Categories

Properties

  • Allow Partial – Allow parsing of partial matches when complete elements are not available.
  • Elements – Defines which output element types to include: “Text Element”, “Analog Element”, “Digital Element”, “Integer Element”, “Unsigned Element”.
  • Enabled – Turns the component on or off.
  • Ignore End – When set, drops trailing input that doesn’t form a complete element.
  • Text – Specifies the input parsing pattern or string to be processed.

Pins

  • In – The Text Input pin of the component or element