Find a String Between Two Substrings#

Find a substring in the text that is located between two other substrings.

Text[Text] Input string.
Left Part[Text] Left substring to find.
Right Part[Text] Right substring to find. If an empty value is specified, the end of the string will be used as the right part.
Start Index[Number] Index of the character from which the search for the left substring begins. Indexing starts at 0.
Whole Word

Word boundaries will be considered during the search. For example, with the property enabled, the value "Value" will be found in the text "This Value", but will not be found in the text "This ValueTest".

If the property is disabled, the value "Value" will be found in both examples.

Extended Check

If enabled, a check using wildcards will be used. For example: "test*", "te?t".

If the property is disabled, the check will be performed in a simple way and will be faster.

Case SensitiveIf the property is enabled, the case of characters will be considered during the check; otherwise, it will be ignored.
Search Until NewlineIf the "Right Part" property is not specified, this property defines the search for the right part. If enabled, the newline character (or end of string) will be considered the right part; if the property is disabled, the end of the string will be used.
Start Index[Number] Index of the first character of the found string.
End Index[Number] Index of the next character after the found string.
Found Substring[Text] Value of the found substring.
Substring Length[Number] Length of the found substring.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by 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.

Error Output Direction

Select the output direction from the block in case of an error. Possible values:

  • "Default" - by default;
  • "Right" - to the right;
  • "Bottom" - down.

This property allows you to define the output direction in case of errors for blocks that do not contain the "If Error" connector (for example, the "Condition" block).

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" - by 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.