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

ParseArray Op

Ops.Array.ParseArray


ParseArray
Namespace: Ops.Array

Op author: pandur

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Array.ParseArray_v2

Parse a string into an array (create)


summary (oneliner)

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



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

text (String)

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


separator (string /Number)

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)


Outputs

Parsed (Trigger)

Triggers once the array has been parsed


array (Array)

The parsed array


length (Number)

The length of the parsed array


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Array Sum

Open Example In Editor


Patches using ParseArray

Changelog


code cleanup - moved variables outside of for loop
2019-02-08 - andro

fixed the interpolation method when working with strings, temp fix
2019-02-08 - andro

optimized by default "isNumbers" is set to true when op is created
2019-04-26 - andro