Attributes and Properties

<split>

<split> is an General Operator component that splits a numerical value or a text string into separate characters.

Attributes for <split>
AttributeTypeValues
assignNames = "…"
assignNamesSkip = "…"
splitBy = "…""letter" "word" "comma"
type = "…""text"

The <split> component has no properties.


Example: <split> numbers from user-input

In this example, a numerical value is split into separate digits that can be retrieved by by referring to the desired index of the named <split> component. Note that decimal points will occupy their own index.


Example: <split> a text string

In this example, a text string value is split into separate characters that can be retrieved by referring to the desired index of the named <split> component. Note that spaces and puncuation will occupy their own index.


Example: splitBy

For text strings, the splitBy attribute can be used to adjust the type of splitting that occurs. The options are comma, letter, and word.