Table Of Contents

Replace Substring (G Dataflow)

Last Modified: August 31, 2018

Deletes a specified length of characters in a string and replaces the deleted portion with another string.

connector_pane_image
datatype_icon

string

The string in which you want to replace characters.

datatype_icon

substring

Substring that replaces a specified length of characters in the input string.

Default: Empty string

datatype_icon

offset

The number of characters into the string at which the node places the substring.

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.

Default: 0

datatype_icon

length

The number of characters the substring will replace in the input string.

If the substring is empty, the specified length of characters is deleted starting at the offset.

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.

Default: 0

datatype_icon

result string

The edited string that includes the replaced characters.

datatype_icon

replaced substring

Characters that were replaced in the string.

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