Parse

Node Icon

Parse text to a numerical or boolean array or scalar. The format of the text should be square brackets “[]” for each array dimension and comma separator ", " between items.

Since it is ambiguous from the text what the data type should be it must be specified.

Examples:

3.4 → Scalar number.

[1, 2, 3] → 1D array of numbers.

[[1, 2], [3, 4]] → 2D array of numbers.

[True, False] → 1D array of boolean values.

Inputs

Input

input Text(s) to be parsed.

Type: Text, List, Required, Single

Outputs

Output

Output array(s).

Type: Numeric Array, Boolean Array, List

Settings

Data Type Selection

Type of data in the resulting array(s).

Values: Boolean, Integer32, Integer64, Float32, Float64, Complex64, Complex128

See also

Parse Text

Keywords: