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

this op is a OLD Version!

it will not receive any updates

see other versions: v0 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

youtube id

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 (Function)

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

Credits


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

Examples using ParseArray

Public Patches using ParseArray