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

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



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


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


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


input string

The string that this node searches.


search string

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

Implications of Empty String


replace string

The string used to replace search string in input string.

Default: Empty string



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.


error in

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

Default: no error


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.


number of replacements

Number of times this node replaced search string.


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.


error out

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