Substring Replacement#

Replace one substring in the text with another.

Text[Text] Input string.
Search Substring[Text] The string to be replaced.
New LineIf selected, newline characters ("\n", "\r") will be used as the search substring.
Replacement Substring[Text] The string to replace all occurrences of the search substring.
Regular ExpressionWhen replacing, the search substring will be treated as a regular expression.
Result[Text] A new string in which all occurrences of the specified string are replaced with another specified string.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.