beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

StringToArray_v2 Op



StringToArray
Namespace: Ops.Array

Op author: pandur

Test Patches: 1 Test

Parse a string into an array (create, split string, stringToArray)


Let’s you enter multiple values as an array in the editor. The result can then be used by e.g. Ops.Array.ArrayGetValue.



Inputs

text (String)

The array-data you want to use, e.g. 100,200,300

separator (String)

The separator to use, e.g. , (comma) when your text is foo,bar,baz

Numbers (boolean /Number)

If set, the values inside the array will be interpreted as numbers (not strings)

Trim (boolean /Number)
Split Lines (boolean /Number)

Outputs

Parsed (Trigger)

Triggers once the array has been parsed

array (Array)

The parsed array

length (Number)

The number of elements in the resulting array


Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Array Sum


Youtube Video Tutorial

Patches using StringToArray_v2

  • Examples
  • Public
  • My Patches

Changelog


enhancement: ignore comma after last value
2019-08-26 - pandur
renameOps.Array.ParseArray_v2 renamed to Ops.Array.StringToArray_v2
2023-06-05 - pandur