Text to Texts

../../../../../_images/text2texts.svg

The internal dataformat Text can either be represented with a single Text or with a list of Texts. Most of the nodes that operates upon Texts can handle both representations, but there exist nodes which only can handle one of the two. With the considered node it is possible to make a transition from a single Text into a list of Texts. There do also exist a node for the opposite transition, Get Item Text. These two simple operations widen the spectrum of available Text operations in the standard library.

class node_text2texts.Text2Texts(*args, **kwargs)[source]

Convert Text into Texts. The incoming Text will be the only element in the output.

Inputs:
port0 : Text

Text with data

Outputs:
port1 : Texts

Texts with the incoming Text as its only element.

Configuration:

No configuration

Opposite node:

Get Item Text

Ref. nodes: