Table Of Contents

String Length (G Dataflow)

Last Modified: August 31, 2018

Returns the number of characters in a string.

connector_pane_image
datatype_icon

string

A string whose number of characters you want to compute.

This input also supports any data type that includes only strings, such as an array of strings or a cluster of strings.

datatype_icon

length

Number of characters in a string.

The structure of this output matches the structure of the string. For example, if you wire an array of strings to string, this output returns an array of integers. Likewise, if you wire a cluster of strings to string, this output returns a cluster of integers.

spd-note-note
Note  

A character refers to a code point, a numeric unit between 0 and 10FFFF16, defined by the Unicode standard for encoding. For more information about code points, research Unicode.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an optimized FPGA VI)

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


Recently Viewed Topics