Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Replaces one or all instances of a substring with another substring.

connector_pane_image
datatype_icon

multiline?

A Boolean indicating whether or not to treat the text in input string as a multiple-line string. This affects how the ^ and $ characters handle matches.

TRUE "^" matches the beginning of any line in input string. "$" matches the end of any line in input string.
FALSE "^" matches only the beginning of the line in input string. "$" matches only the end of input string.

Default: FALSE

datatype_icon

ignore case?

A Boolean indicating whether the string search is case sensitive.

TRUE The search is not case sensitive
FALSE The search is case sensitive.

Default: FALSE

datatype_icon

replace all?

A Boolean specifying whether the node replaces all occurrences of the search string or only the first occurrence.

TRUE The search replaces all matches for the search string.
FALSE The search replaces only the first occurrence of a match.

Default: FALSE

datatype_icon

input string

The string that this node searches.

datatype_icon

search string

The string you want to replace if it exists in input string.

Implications of Empty String

datatype_icon

replace string

The string used to replace search string in input string.

Default: Empty string

datatype_icon

offset

The number of characters into input string at which this node starts searching for search string.

The offset of the first character in the input string is 0.

datatype_icon

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: no error

datatype_icon

result string

The input string with one or all occurrences of search string replaced with replace string.

If replace string is empty, result string contains input string with search string deleted.

datatype_icon

number of replacements

Number of times this node replaced search string.

datatype_icon

offset past replacement

The offset in result string of the character immediately following where the last match and replacement occurred.

If the node does not find search string, this output is -1.

If replace all? is FALSE, the next match, if any, is after this point.

datatype_icon

error out

Error information. The node produces this output according to standard error behavior.