Replaces one or all instances of a substring with another substring.
A Boolean value that determines whether 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 input string. $ matches only the end of input string.|
The string that this node searches.
The string you want to replace if it exists in input string.
Implications of Empty String
If search string is an empty string and replace all? is FALSE, the node inserts replace string at the beginning of input string. If search string is an empty string and replace all? is TRUE, the node inserts replace string at the beginning of input string, in between each character, and at the end.
The string used to replace search string in input string.
Default: Empty string
The number of bytes into the input string at which this node starts searching.
The offset of the first byte in the input string is 0. If offset is beyond the end of the input string, this node returns an empty string.
Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
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 times this node replaced search string.
The offset in result string of the byte 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 information. The node produces this output according to standard error behavior.
Where This Node Can Run:
Desktop OS: Windows
FPGA: All devices (only within an Optimized FPGA VI)