Table Of Contents

Spreadsheet String to Array (G Dataflow)

Last Modified: September 13, 2017

Converts a delimited string of values into an array of strings or numbers.

connector_pane_image
datatype_icon

format string

A string that uses format specifiers to determine how to convert the text into array data. Use %s to convert spreadsheet string to an array of strings. Use %d or %f to convert spreadsheet string to an array of numbers.

datatype_icon

spreadsheet string

A string containing numbers or text separated into columns by delimiters, such as tabs or commas, with an end-of-line (EOL) character separating rows.

This node converts each value in spreadsheet string according to format string and stores the resulting values in array.

datatype_icon

array type

The data type that determines the dimension and representation of array.

Default: 2D array of double-precision, floating-point numbers

datatype_icon

delimiter

A character or string of characters used to separate fields in the spreadsheet text. For example, a value of , (comma) specifies a single comma as the delimiter.

Default: \t — single tab character

datatype_icon

array

An array of the dimension and representation of array type containing the delimited data from spreadsheet string.

Converting to 1D String Arrays

If you want to more quickly convert a delimited string to a 1D string array, use Delimited String to 1D String Array.

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices

Web Server: Supported in VIs that run in a web application


Recently Viewed Topics